Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name

时间:2022-11-05 20:23:06

启动apache的时候,报告以下消息提示:

 Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name

 

修改方法:

vi /etc/httpd/conf/httpd.conf 

#添加以下内容 

ServerName  localhost:80