PHP用5.3.3和5.2.14都试过,也用了解压缩版和安装版。在httpd.conf里面写入
LoadModule php5_module "d:/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
PHPIniDir "d:/php"
后apache就启动不了,出现错误提示the requested operation has failed!
如果不写上面的语句,启动没有问题。请问怎么办?

解决方案 »

  1.   

    apache安装目录下的logs/error.log看看具体错误是什么
      

  2.   

    d:/php/php5apache2_2.dll  这个要对应你php版本的呀  你对应了没有
      

  3.   

    错误信息是这样的:
    httpd.exe: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
    [Wed Oct 27 16:38:51 2010] [warn] pid file D:/Program Files/Apache Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
      

  4.   


    apache 启动httpd.exe 报错 Could not reliably determine the server's fully qualified