1. 程式人生 > >MAMP無法正常啟動,錯誤提示The built-in Apache is active

MAMP無法正常啟動,錯誤提示The built-in Apache is active

週五因為測試圖靈機器人,升級MAC OS下PHP版本為7.0後。MAMP無法正常執行 報錯提示如下:


The built-in Apache is active which can cause a port conflict with at least one of your virtual hosts.



It's recommended either to choose a port different than 80 or to stop the built-in Apache.


根據提示為內部Apache正在執行,造成埠衝突。停止內部Apache就可正常執行。

終端結束或者開啟命令如下: 

重啟apache:sudo /usr/sbin/apachectl restart

關閉apache:sudo /usr/sbin/apachectl stop

開啟apache:sudo /usr/sbin/apachectl start