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

解决方案:

用记事本打开 httpd.conf

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

再执行 httpd

然后可以通过浏览器访问 http://localhost:80 ,如果页面显示 “It works!” ,即表示apache已安装并启动成功。

posted @ 2017-01-02 16:15  岑忠满  阅读(2812)  评论(0编辑  收藏  举报