Jump to content

Apache service will not start when adding PHP module


Eiolon

Recommended Posts

Running:

 

Windows Server 2008 R2 64-bit

Apache 2.4.4 32-bit from Apache Lounge

PHP 5.4.16 VC9 x86

 

Apache works fine until I add the following lines at the end of the httpd config file:

 

LoadModule php5_module "c:/php/php5apache2_4.dll"
AddHandler application/x-httpd-php .php

PHPIniDir "C:/php"

 

The module is located in the path.

 

I have the Microsoft VS2010 Redistributable x86 installed.

 

I have C:\PHP; added to the environmental variables in Windows.

 

Error that occurs when starting the service:

 

Cannot load C:/PHP/php5apache2_4.dll into server: The application has failed to start because its side-by-side configuration is incorrect.

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.