首页 > 代码库 > 解决apache启动错误httpd: Could not reliably determine the server's fully qualified domain name

解决apache启动错误httpd: Could not reliably determine the server's fully qualified domain name

技术分享


AH00558: httpd: Could not reliably determine the server‘s fully qualified domain name, using localhost.localdomain. Set the ‘ServerName‘ directive globally to suppress this message
httpd (pid 1068) already running


编辑httpd.conf文件,搜索"#ServerName",添加ServerName localhost:80

技术分享

然后重启apache即可

本文出自 “全能冠军小柠檬” 博客,请务必保留此出处http://lemonit.blog.51cto.com/6043645/1598257

解决apache启动错误httpd: Could not reliably determine the server's fully qualified domain name