码迷,mamicode.com
首页 > Web开发 > 详细

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

时间:2015-01-01 10:10:34      阅读:198      评论:0      收藏:0      [点我收藏+]

标签:apache

技术分享


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

标签:apache

原文地址:http://lemonit.blog.51cto.com/6043645/1598257

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!