freebsd 8.1 apache出错解决办法
来源:网络 责任编辑:栏目编辑 发表时间:2013-07-02 00:16 点击:次
整合apache和php之后,apche重启提示:
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
解决办法非常简单:
localhost# find / -name httpd.conf
/usr/local/share/examples/apache22/httpd.conf
/usr/local/etc/apache22/httpd.conf
#ee /usr/local/etc/apache22/httpd.conf
找到#ServerNamewww.2cto.com:80 把#去掉,再重启apache即可没事了。
localhost# /usr/local/sbin/httpd -k restart
摘自:一不小心高潮了
相关新闻>>
- 发表评论
-
- 最新评论 更多>>