升级到 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
我尝试使用 home-brew 重新安装 apache24。但这并没有解决我的问题。 我还配置了httpd.conf,取消注释ServerName localhost。但这无论如何都没有帮助。
请帮忙。
最佳答案
尝试添加
127.0.0.1 MacBook-Pro-N.local
到您的/etc/hosts
文件
关于macos - 升级到 macOS Sierra Apache 无法启动/停止/重新启动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42370562/