AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1.

       在Unbuntu中重启Apache服务器出现错误:AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1.等等。解决方法:

       $ sudo vim /etc/apache2/apache2.conf
     
      最后加入一句: ServerName localhost:80
posted @ 2015-05-10 23:19  墨梅  阅读(21455)  评论(0编辑  收藏  举报