解决AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using local

一、启动apache遇到错误:
httpd: Could not reliably determine the server’s fully qualified domain name
二·、修改配置

vim /etc/httpd/conf/httpd.conf
#ServerName www.example.com:80

改成

ServerName localhost:80

三、关闭在启动httpd

systemctl stop httpd
systemctl start httpd
systemctl status httpd

解决AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using local_第1张图片

你可能感兴趣的:(apache)