httpd: Could not reliably determine the server's fully qualified domain name, using st.localdomain for ServerName
2014-04-19 11:09:58   来源:   浏览: 次

导读:解决方案: window下apache: 进入apache的安装目录: Windows : D: Program Files Apache Software Foundation Apache2 2 conf linu

解决方案:

window下apache:

进入apache的安装目录:

Windows : D:\Program Files\Apache Software Foundation\Apache2.2\conf
linux : /usr/local/apache/conf

用记事本打开httpd.conf

将里面的

#ServerName localhost:80

注释去掉即可。如果不存在,

添加:

ServerName localhost:80

重启apache