1.解决办法:
修改conf/httpd.conf:
找到下面这行:
#ServerName www.example.com:80
替换成: (记得把“#”去掉;)
ServerName localhost:80
2.遇到的问题:
Xampp,apache的启动logs/error.log文件总显示如下警告:
虽然不影响运行,但是老是出现提醒:
AH00558: httpd.exe: Could not reliably determine the server's fully qualified domain name, using fe80::f95f:e1fe:edcb:39ca.Set the 'ServerName' directive globally to suppress this message