Eiolon Posted June 6, 2013 Share Posted June 6, 2013 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. Link to comment https://forums.phpfreaks.com/topic/278863-apache-service-will-not-start-when-adding-php-module/ Share on other sites More sharing options...
Eiolon Posted June 6, 2013 Author Share Posted June 6, 2013 Turns out while I had installed Visual C++ Redistributable for Visual Studio 2010 SP1 for Apache, I still had to install Visual C++ Redistributable for Visual Studio 2008 SP1 for PHP. All is well now. Link to comment https://forums.phpfreaks.com/topic/278863-apache-service-will-not-start-when-adding-php-module/#findComment-1434555 Share on other sites More sharing options...
frass2k4 Posted July 23, 2013 Share Posted July 23, 2013 where can i get the installable apache 2.4.4 32- bit from apache and PHP 5.4.16 VC9 x86. Link to comment https://forums.phpfreaks.com/topic/278863-apache-service-will-not-start-when-adding-php-module/#findComment-1441857 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.