用户名:
密 码: 记住
您当前的位置:首页 > 网络编程 > php教程

apache启动错误提示:httpd: Could not reliably determine the server

时间:2015-01-23  来源:西部数据  作者:西部数据

可能有些朋友会碰到在apache启动错误提示:httpd: Could not reliably determine the server 这个问题,其实解决办法很简单。

错误提示:在系统启动时apache,没有启动起来,查看“事件查看器”发现报一些错误:

The Apache service named  reported the following error:>>> httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.200 for ServerName  

解决办法

1)进入apache配置文件的目录:(视个人安装情况而不同)

[root@centos /]# cd /etc/httpd //我安装时配置文件所在的目录为/etc/httpd

2)编辑httpd.conf文件,搜索"#ServerName",添加ServerName localhost:80

  1. [root@centos httpd]# vi httpd.conf 
  2. #ServerName www.hzhuti.com:80 

更改为:

  1. ServerName localhost:80 

再重新启动apache 即可。

来顶一下
返回首页
返回首页
推荐资讯
WiFi太不安全:7岁女孩11分钟内入侵公共网络 WiFi太不安全:7岁女孩11分钟内入侵近期刚刚发布研究说WiFi网络能获得人们手机里多少私人信息,
不服跑个分?人工智能也出现“刷分”乱象 不服跑个分?人工智能也出现“刷分2014年,人工智能领域突然爆发,成为了科研和科技创业的热门
相关文章
栏目更新
栏目热门