用./apachectl start提示:
httpd:Could not determine the server's fully qualified domain name,using 127.0.0.1 for ServerName
修改的是在/usr/local/etc/apache2/httpd.conf
只需要编辑httpd.conf,找到ServerName xxxx这一行,去掉前面的注释即可。
本文介绍了解决Apache服务器启动时无法确定全限定域名(FQDN)的问题。通过编辑httpd.conf配置文件中ServerName一行,去掉注释即可解决提示使用127.0.0.1作为ServerName的问题。
用./apachectl start提示:
httpd:Could not determine the server's fully qualified domain name,using 127.0.0.1 for ServerName
修改的是在/usr/local/etc/apache2/httpd.conf
只需要编辑httpd.conf,找到ServerName xxxx这一行,去掉前面的注释即可。
1万+

被折叠的 条评论
为什么被折叠?