Apache the requested operation has failed
How to solve the problem where you get the requested operation has failed, when running apache after installing PHP.
You are using the Installer, and get the error the requested operation has failed after the installation has finished, and you run Apache.
Missing module
You should check your http.conf, and scroll all the way down to the bottom. If the installer got PHP installed correctly, there should be an entry for PHP, like shown below.
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "C:\PHP" LoadModule php5_module "C:\PHP\php5apache2_2.dll" #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
If for some reason this is missing, such as the retarded permission system on Windows (or whatever its called), then add it manually. The file paths should reflect your own installation.
Empty module paths
You might also (for whatever reason), experience that the paths are left empty by the Installer, in which case you should fill them out on your own to solve the problem.
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir "" LoadModule php5_module "" #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
Comment by lorenzo lobas
Posted The:22/03/2012 At: 0:27
i found the begin string at the bottom of the document the PHPIniDir was empty then i placed C:\PHP and i tried running apache again and i still get the same result?!:(
Author: lorenzo lobas