启动apache的服务时,出现如下信息:
    httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

解决办法:
    1.进入apache安装目录下,编辑配置文件./conf/httpd.conf
     将httpd.conf文件中的一行:
           # ServerName www.example.com:80 前的注释#去掉。
      或者增加一行:
           ServerName localhost:80

 

本文出自 梦之翼网络

Linux启动apache时出现httpd: Could not reliably determine the server’s fully qualified domain name的解决办法

发表评论

电子邮件地址不会被公开。 必填项已用*标注

This site uses Akismet to reduce spam. Learn how your comment data is processed.