您的位置:首页 > 大数据 > 人工智能

Apache问题解决:httpd: Could not reliably determine the server's fully qualified domain name

2016-04-06 15:12 381 查看
在Linux下

启动Apache时,出现:httpd: Could not reliably determine the server's fully qualified domain name

解决方案:

进入apache的安装目录:

linux : /usr/local/apache/conf

用vi打开httpd.conf

将里面的#ServerName localhost:80注释去掉即可。

再启动httpd

然后可以通过浏览器访问http://localhost:80,如果页面显示正常显示测试页面,即表示apache已安装并启动成功。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: