An error occurred while configuring Apache and php! I downloaded Apache2.2 and php5.3 (my system is win7). I have installed Apache2.2 and php5.3, but I have configured httpd for Apache. I only need to add the LoadModulephp5_module & quot; D: phpphp5apache2_2.dll & quot; PHPIniDir & quot; D: An error occurred while configuring Apache and php!
I downloaded Apache2.2 and php5.3 (my system is win7). I have installed them after the download, but I only need to add these two sentences when configuring the httpd. conf file of Apache.
LoadModule php5_module "D:/php/php5apache2_2.dll"
PHPIniDir "D:/php"
After Apache is restarted, the "the requested operation has failed" error is reported. I have carefully checked Lu Jin and the file. why? Thank you for your advice.
------ Solution --------------------
Loadmodule php5_module "c:/php5/php5apache2. dll"
PHPinidir "c:/php5/php. ini"
Addtype application/x-httpd-php. php
I remember.
------ Solution --------------------
Discussion
Big buddy, help! no one will do it?
------ Solution --------------------
LoadModule php5_module "D:/php/php5apache2_2.dll"
PHPIniDir "D:/php"
Are you sure you have php5apache2_2.dll in the path?
------ Solution --------------------
Must I add this sentence, "D:/php/php5apache2_2.dll? This should be okay.
------ Solution --------------------
PHP code
PHPIniDir "D:/php"LoadModule php5_module D:/php/php5apache2_2.dll
AddType application/x-httpd-php .phpAddType application/x-httpd-php .php3AddType application/x-httpd-php-source .phps