After "LoadModulephp5_module" and "PHPIniDir" are configured in the httpd. conf file of apache, apache php cannot be started.
Apache version: httpd-2.2.25-win32-x86-openssl-0.9.8y.msi
Php version: php-5.5.5-Win32-VC11-x64.zip
The added configuration file is as follows:
LoadModule php5_module "D:/PHP/php5apache2_4.dll"
PHPIniDir "D:/PHP"
AddType application/x-httpd-php. php. html. htm
It can be started successfully after I remove the above configuration. Is it the apache version? Please help me.
Reply to discussion (solution)
Apache-2.2.25-win32-x86-openssl-0.9.8y.msi
LoadModule php5_module "D:/PHP/php5apache 2_4.dll"
Think for Yourself
Apache-2.2.25-win32-x86-openssl-0.9.8y.msi
LoadModule php5_module "D:/PHP/php5apache 2_4.dll"
Think for Yourself
Try another version.
Apache version: httpd-2.2.25-win32-x86-openssl-0.9.8y.msi
Php version: php-5.2.5-x64-2007-11-12.zip
LoadModule php5_module "D:/PHP/php5apache2_2.dll"
PHPIniDir "D:/PHP"
AddType application/x-httpd-php. php. html. htm
Still unavailable
X86... x64
?...... Catch chicken ......
Apache-2.2.25-win32-x86-openssl-0.9.8y.msi
LoadModule php5_module "D:/PHP/php5apache 2_4.dll"
Think for Yourself
Try another version.
Finally, we can continue. I finally changed the version. thanks for the prompt.
Apache version: httpd-2.4.6-win64-VC11.zip
: Http://www.apachelounge.com/download/
PHP version: VC11 x64 Thread Safe (00:30:13) php-5.5.5-Win32-VC11-x64.zip
: Http://windows.php.net/download/
Start apache:
1、httpd.exe-k install
2. set ServerRoot in the httpd. conf file
32.16httpd.exe-k start
4. set the DocumentRoot attribute in the httpd. conf file.
5. run httpd.exe-k start again.
Write it out to avoid detours like me.
Is Apache 64-bit?