我按正常顺序安完APACHE后无法启动服务,然后我以管理员身份运行命令提示.键入以下命令 httpd -k install
屏幕提示错误信息如下
Installing the Apache2.2 service
The Apache2.2 service is successfully installed
Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
httpd:Could not reliably determine the server's fully qualified domain name,using 124.135.134.12 for ServerName
请问这是什么意思,如何解决.

解决方案 »

  1.   

    现在的apache默认配置文件没有开启ServerName的选项,就是说因为你没设置ServerName,所以直接用你的IP代替了,一般不影响使用
      

  2.   

    啥意思?我接着用 httpd -k start 命令 还提示错误 httpd:Could not reliably determine the server's fully qualified domain name,using 124.135.134.12 for ServerName 
      

  3.   

    你到安装apache的目录下找conf/httpd.conf搜ServerName,去掉前面的#,然后改成ServerName localhost或者127.0.0.1
      

  4.   

    安装好了之后 APACHE 可以启动了 但是 单击重启服务后 出现 "The requested operation has failed!"  之后就再也启动不了了,请问该如何解决
      

  5.   

    修改 httpd.conf 文件. 在 ServerName 段加上ServerName localhost 就行了.
      

  6.   

    运行, httpd -k start
    之后, 出现: 
    (OS 10048)通常每个套接字地址(协议/网络地址/端口)只允许使用一次。:make_sock: could not bind to address 0.0.0.0 :80
    no listening sockets available, shutting down
    unable to open logs
    那位大哥可以解决, 请联系我qq [email protected]
      

  7.   

    为什么我修改了, httpd.conf 后出现如下错误:
    我运行  httpd -k start
    httpd Syntax error on line 127 of D:/Apache/conf/httpd.conf: Cannot load D:/PHP/php5apache2.dll into server: \xd5\xd2\xb2\xbb\xb5\xbd\xb8\xb6\xa8\xb5\xc4\xc4\xa3\xbf\xe9\xa1\xa3
    那位大哥可以解决, 请联系我qq [email protected]