PHP installation directory for PHP5.20 + Apache2.2.3 in Windows: D: php5.2.0httpd. the related PHP settings in conf are: LoadModule & nbsp; php5_module & nbsp; & quot; d: php5.2.0php5apache2. dll & quot; PHPIniDir & nbsp; & q: PHP5.20 + Apache2.2.3 configuration problems in Windows
PHP installation directory: D: \ php5.2.0
The related PHP settings in httpd. conf are as follows:
LoadModule php5_module "d:/php5.2.0/php5apache2. dll"
PHPIniDir "d:/php5.2.0 /"
But why is it always unsuccessful? after commenting the two lines, it can be started again ....
Help me. I just learned PHP.
------ Solution --------------------
LoadModule php5_module "d: \ php5.2.0 \ php5apache2. dll"
PHPIniDir "d: \ php5.2.0 \ php. ini"
Make sure that php. ini is in this directory. change httpd. conf and try again.
------ Solution --------------------
LoadModule php5_module "% PATH %/php/php5apache2_2.dll"
AddType application/x-httpd-php. php
PHPIniDir "% PATH %/php"
Change % PATH % to your actual PATH
Optimistic about whether apache version is 2.0 or 2.2