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

来源:互联网 发布:python gnu readline 编辑:程序博客网 时间:2024/06/07 00:13

在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

0 0
原创粉丝点击