centos7 的httpd的问题
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
Syntax OK
解决办法:先用httpd -t 检查语法
出现
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
Syntax OK
没找到域名,域名设置有问题
修改/etc/httpd/conf/httpd.conf文件
把ServerName 那一行注释删掉·
在httpd -t
结果为:Syntax OK就好了