在linux环境下启动apache出现:Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name这类提示。但是不影响服务!
总觉得有点怪,如何解决Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name,这个问题?
来看一下我现在阿里云修改的配置:
#vi /etc/httpd/conf/httpd.conf查找ServerName
将'#ServerName www.example.com:80'
修改成: 'ServerName localhost:80'
问题解决.
最后记得重启apache服务:# /usr/local/apache/bin/apachectl restart 或 service httpd restart...