Apache2启动错误Could not reliably determine the server's fully qualified domain name


本文摘自PHP中文网,作者PHP中文网,侵删。

错误情况:

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

 

出现以上情况只要修改一下Apache的配置文件即可:

在配置文件 apache2.conf里面加入一行

 ServerName localhost:80

 然后重启Apache服务就可以了

sudo /etc/init.d/apache2 restart 

以上就是Apache2启动错误Could not reliably determine the server's fully qualified domain name的详细内容,更多文章请关注木庄网络博客

相关阅读 >>

linux中如何查看mysql服务是否启动

虚拟机实现静态ip登录的实例介绍

怎样在suse操作系统上安装运行apache2

linux系统启动步骤

linux中如何查看mysql服务是否启动

为何docker刚启动起来就退出了

linux服务器上启动tomcat出现乱码

nginx如何启动

nginx常见错误及解决方法介绍

linux启动失败

更多相关阅读请进入《reliably》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...