启动apache的服务时,出现如下信息:
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
解决办法:
1.进入apache安装目录下,编辑配置文件./conf/httpd.conf
将httpd.conf文件中的一行:
# ServerName www.example.com:80 前的注释#去掉。
或者增加一行:
ServerName localhost:80
本文出自 梦之翼网络
Linux启动apache时出现httpd: Could not reliably determine the server’s fully qualified domain name的解决办法