周五因为测试图灵机器人,升级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
更多原创技术博客请移步 http://www.weiyi.wiki