Apache 2.2 + PHP 5.1.1 on Windows

After adding the following lines to the end of httpd.conf:

LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir “C:/php”

You restart Apache and get the following error:

The Apache2.2 service terminated with service-specific error 1 (0x1)

The solution is to download php5apache2.dll-php5.1.x.zip courtesy of Steffen. Overwrite php5apache2.dll in your PHP folder and copy httpd.exe.manifest to your Apache2 bin folder.

23 March 2007 | Software engineering, PHP | Comments

One Response to “Apache 2.2 + PHP 5.1.1 on Windows”

  1. 1 Zam Zam Alakazam 26 March 2007 @ 5:31 pm

    Very Very useful advice since it is different setting compare to Apache 2.0. Good work to Steffen and to Rizal as well

Comments:

  1.  
  2.  
  3.