drupal apache启动不起来解决方案

apache 启动不起来

errorerror2

error.log 中有如下日志

[Fri Jan 14 17:32:56 2011] [notice] Server built: Oct 18 2010 01:58:12
[Fri Jan 14 17:32:57 2011] [notice] Parent: Created child process 3480
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.36 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.36 for ServerName

 

原因:端口号被占用

解决方案:

  httpd.conf 文件下查找 ServerName localhost 改为 ServerName localhost:8888(端口后随便,和Listen一致)  ,Listen 80  改为 Listen localhost:8888

posted @ 2011-01-14 18:30  opqrst  阅读(195)  评论(0)    收藏  举报