Apache Httpd 报错 AH00558 Could not reliably determine the server’s fully qualified domain name

在 Apache 日志文件里提示错误:

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
Syntax OK

解决办法,修改配置文件:

vi /etc/httpd/conf/httpd.conf

修改 ServerName 为:

ServerName localhost:80

相关文章