Board logo

标题: httpd: Could not reliably determine the server's fully qualifi...解决办法 [打印本页]

作者: xiexie    时间: 2011-12-12 23:49     标题: httpd: Could not reliably determine the server's fully qualifi...解决办法

apche重启提示: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
解决办法非常简单:
#vim /var/local/apache/conf/httpd.conf (在这里/var/local/apache是我安装apache的目录)
找到#ServerName www.example.com:80   把#去掉,再重启apache即可没事了。




欢迎光临 PHP开发笔记 (http://phpvi.com/) Powered by Discuz! 6.1.0