欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

httpd: apr_sockaddr_info_get() failed for bogon

程序员文章站 2022-04-24 19:11:29
AH00557: httpd: apr_sockaddr_info_get() failed for bogon AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ......

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