查看系统日志,看到这个错误:
httpd.exe: Could not reliably determine the server’s fully qualified domain name, using 192.168.1.xx for ServerName
虽然apache能正常运行,但是觉得不爽,查了一下原来是因为DNS没配置好.在httpd.conf , 在最前加入 ServerName localhost:80 即可。