启动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的解决办法

发表评论

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

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据