解决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

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。