升级到macOS Sierra之后,Apache无法启动/停止/重新启动

内尔·P。

升级到macOS Sierra之后,Apache无法启动/停止/重新启动。

错误:

AH00557: httpd: apr_sockaddr_info_get() failed for MacBook-Pro-N.local
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message

我尝试使用自制软件重新安装apache24。但这并不能解决我的问题。我还配置了httpd.conf,未注释的ServerName localhost。但这仍然无济于事。

请帮忙。

迈克·霍兹沃思(Mike Holdsworth)

尝试添加 127.0.0.1 MacBook-Pro-N.local

到你的/etc/hosts文件

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章