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
即可排除故障
工作经验 部署阿帕奇的时候出现 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
时间: 2024-10-28 19:38:25