PHP 5.2.13 doesn't work on Windows 7 on apache 2.2

Posted by Sinan on Server Fault See other posts from Server Fault or by Sinan
Published on 2010-03-06T02:04:47Z Indexed on 2010/05/07 22:08 UTC
Read the original article Hit count: 243

Filed under:
|
|

I have a test server on a Windows 7 Machine with apache 2.2 installed. On it PHP 5.2.11 was workig fine (as a module). But when I try to install 5.2.13 (or greater). It doesn't start.

Nothing beside the PHP version is different. I unzip the files and add the lines.

LoadModule php5_module "c:/PHP/php5apache2_2.dll"
AddType application/x-httpd-php .php
PHPIniDir "c:/PHP"

But that LoadModule directive doesn't let apache start. When I comment that line apache starts. When I replace the files with those in 5.2.11 package Everything works fine again.

Does anyone have any ideas?

© Server Fault or respective owner

Related posts about windows-7

Related posts about php