初次接触PHP环境,自己手动配置apache与php,遇到httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.xx for ServerName这个问题,百度和谷歌后发现基本上都是同样内容的答案,如下内容是在网上找到的
补充:原来出现这个错误原因(httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.xx for ServerName)是因为DNS没配置好. 如果不想配置DNS, 就在httpd.conf , 在最前加入 ServerName localhost:80 即可
其实这个问题,解决的方法就是补充中的一句话,修改httpd.conf中的ServerName IP:port与Listen IP:端口一致就OK了。
|

友情链接