升级到 macOS Sierra
后,我的 apache 无法启动。
在哪里可以找到 apache 的 error_log
:
AH00112: Warning: DocumentRoot [/usr/docs/dummy-host.example.com] does not exist
AH00112: Warning: DocumentRoot [/usr/docs/dummy-host2.example.com] does not exist
AH00557: httpd: apr_sockaddr_info_get() failed for username.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 (13)Permission denied:
AH00072: make_sock: could not bind to address [::]:80 (13)Permission denied:
AH00072: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down*
我已经按照这些说明尝试了,但并没有成功:http://digitalshore.io/local-web-development-environment-apache-macos-sierra-10-12/