解决apache启动错误httpd: Could not reliably determine the server's fully qualified domain name

wKioL1SkP2HTnXEBAAD1BQgUUHc914.jpg


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
httpd (pid 1068) already running


编辑httpd.conf文件,搜索"#ServerName",添加ServerName localhost:80

wKiom1SkPyqylolhAABmCWbdz38862.jpg

然后重启apache即可

你可能感兴趣的:(apache)