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的详细内容,更多文章请关注木庄网络博客

相关阅读 >>

启动bash shell有哪些方式?

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

怎么看nginx有没有启动

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

linux中oracle如何启动

linux系统安装后无法启动

linux系统启动步骤

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

linux常见错误及解决办法分享

apache2启动错误could not reliably determine the server's fully qualified domain name

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



打赏

取消

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

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

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

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

评论

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