Could not reliably determine the server’s fully qualified domain name, using xxx for ServerName
admin 阅读:47 2024-03-03
centos6.5rpm安装apache后,执行service httpd start命令报错:Could not reliably determine the server's fully qualified domain name, using xxx for ServerName
解决方法如下:
修改/etc/httpd/conf/httpd.conf文件,添加以下代码:
ServerName localhost:80
保存后即可正常启动apache服务。
声明
1、部分文章来源于网络,仅作为参考。 2、如果网站中图片和文字侵犯了您的版权,请联系1943759704@qq.com处理!