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中oracle如何启动

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

linux启动与自启教程详解

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

linux系统安装后无法启动

linux下nginx重启命令是什么?

linux怎么以u盘启动

linux下执行php命令提示错误

nginx如何启动

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

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



打赏

取消

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

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

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

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

评论

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