the requested operation has failed 你是怎么解决的我跟你差不多

问题描述:

the requested operation has failed 你是怎么解决的我跟你差不多
D:\Program Files\Apache2.2\bin>httpd -t
[Wed Jun 22 14:34:49 2011] [warn] module php5_module is already loaded,skipping
Syntax error on line 503 of D:/Program Files/Apache2.2/conf/httpd.conf:
PHPINIDir takes one argument,Directory containing the php.ini file
弟503行的代码 PHPIniDir ""

这个很简单,用记事本打开“D:/Program Files/Apache2.2/conf/httpd.conf”,你是否看到倒数几行有一个【PHPIniDir ""】.报错的原因是双引号里面缺少一个参数.
解决办法:
找到你的php安装目录,比如我的是D:/Program Files/PHP,你只需要在上面的双引号加入"D:/Program Files/PHP/php.ini"
希望可以帮到您.
要是有用记得给分哦.