apache重启出现错误一则
重新启动apache服务时,出现如下错误信息:
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
解决办法如下:
登录ssh,编辑apache配置文件httpd.conf,将httpd.conf文件中的一行:
# ServerName www.example.com:80。
去掉“#”,改成以下形式:
ServerName localhost:80