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
posted @ 2018-10-29 14:51  itbsl  阅读(1065)  评论(0编辑  收藏  举报