Centos6 下启动httpd报错 Could not reliably determine the server's解决方法

Posted Loid

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Centos6 下启动httpd报错 Could not reliably determine the server's解决方法相关的知识,希望对你有一定的参考价值。

在启动httpd的时候报错:

 

修改/etc/httpd/conf/httpd.conf 配置,去掉ServerName 前的#(或者手动添加ServerName localhost:80)然后重启httpd服务:

 

 

以上是关于Centos6 下启动httpd报错 Could not reliably determine the server's解决方法的主要内容,如果未能解决你的问题,请参考以下文章