Win7运行httpd.exe -> ApacheCould not reliably determine the server's fully qualified do main name

在win7 Dos下运行>httpd.exe和>httpd.exe -k install报错:

AH00558: httpd.exe: Could not reliably determine the server's fully qualified do
main name, using xxxxx. Set the 'ServerName' directive globally to suppress this message

解决方法:

打开C:\Apache24\conf\httpd.conf,在其中加入:

ServerName localhost:80

猜你喜欢

转载自blog.csdn.net/q1241580040/article/details/50061561