问题:

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

解决方法:

我自己编译安装的配置文件的路径:sysconfdir=/etc/httpd

vim/etc/httpd/httpd.conf找到#ServerName www.example.com:80   把#去掉,再重启apache即可没事了