httpd: apr_sockaddr_info_get() failed for bogon

AH00557: httpd: apr_sockaddr_info_get() failed for bogon
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

在Mac上配置PHP开发环境,当我试着去开启apache时报上面的错误。这里需要把httpd.conf的#ServerName www.example.com:80前面的符号#去掉即可

ServerName www.example.com:80
原文地址:https://www.cnblogs.com/itbsl/p/9870631.html