service httpd restart
Starting httpd: httpd: apr_sockaddr_info_get() failed for server1 httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
出现这种原因是因为 httpd.config 的 配置文件出现错
应该把 ServerName 这行改为
ServerName localhost:80
即可排除故障