`
moqiang02
  • 浏览: 529547 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
文章分类
社区版块
存档分类
最新评论

解决apache启动错误 AH00558: httpd: Could not reliably determine...

 
阅读更多
[root@localhost httpd-2.4.7]# /usr/local/httpd/bin/apachectl start

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

apache 启动出现这种错误的解决方法:

将 apache 的配置文件httpd.conf中的ServerName 改成可用域名或如下配置

ServerName localhost:80


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics