首页 > Web开发 > 详细

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

时间:2020-11-07 19:54:33      阅读:50      评论:0      收藏:0      [点我收藏+]

1.这个异常是在apache2重启时出现的

技术分享图片

2.解决方式

vim /etc/apache2/apache2.conf
#在文件最后添加一行
ServerName localhost:80
#然后保存并重启Apache2
service apache2 restart

技术分享图片

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

原文:https://www.cnblogs.com/mke2fs/p/13941323.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!