2341 发表于 2016-1-11 08:26:17

apache检测配置时有警告apachectl -t

apachectl -t
httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName

解决办法
vi /etc/httpd/conf/httpd.conf
去除#ServerName localhost:80
此行的#符号
重新加载即可

页: [1]
查看完整版本: apache检测配置时有警告apachectl -t