freebsd 8.1 apache出错解决办法


整合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

摘自:一不小心高潮了

相关内容

    暂无相关文章