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

相关阅读 >>

apache2如何开启

本地安装webbench步骤

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

linux实现开机启动程序或脚本的详解

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

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

apache2怎么开启sni

linux中查看服务是否启动的方法有哪些

linux下启动ssh失败的解决方法

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

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



打赏

取消

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

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

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

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

评论

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