Apache 2.2 doesn't start after installing PHP 5.6 on Windows 8.1


I'm setting up an development environment on a Windows 8.1 machine.

I successfully installed Apache 2.2, and downloaded php-5.6.3-Win32-VC11-x86.

I added the following lines at the end of httpd.conf

PHPIniDir "C:/PHP5" LoadModule php5_module "C:/PHP5/php5apache2_4.dll" AddType application/x-httpd-php .php AddHandler application/x-httpd-php .php

I also added

application/x-httpd-php .php

to the myme.types file

If I comment out PHPIniDir or LoadModule apache will start normally.

Also, all extensions are commented out on the PHP.ini file, and the extension directory is set as

extension_dir = "ext"

Any help will be hugely appreciated.

EDIT 1: The only thing in error log is about server shutdow

[Sun Nov 23 14:56:07 2014] [notice] Parent: Received shutdown signal -- Shutting down the server. [Sun Nov 23 14:56:07 2014] [notice] Child 6192: Exit event signaled. Child process is ending. [Sun Nov 23 14:56:08 2014] [notice] Child 6192: Released the start mutex [Sun Nov 23 14:56:09 2014] [notice] Child 6192: All worker threads have exited. [Sun Nov 23 14:56:09 2014] [notice] Child 6192: Child process is exiting [Sun Nov 23 14:56:09 2014] [notice] Parent: Child process exited successfully.


Check your apache log file for errors! see what the

You mention apache 2.2, yet you are using a dll called php5apache2_4.dll. This dll is according to the name specifically build for apache 2.4. This is likely to cause issues, the last php version which has a dll for apache 2.2 for windows on the <a href="http://windows.php.net" rel="nofollow">php website</a> is php 5.4.35.


  • Javascript - Replace undefined with 0
  • return a lambda capturing function parameter reference
  • Writing to two textboxes simultaneously [duplicate]
  • Dynamic url routing with angularjs
  • UserControl InputBindings Only working after pressing a button first
  • NSNonLossyASCIIStringEncoding returns nil
  • Firefox overriding style of html select option
  • How to use @Pattern on non-mandatory fields JSR 303
  • WiX Property Reference Another Property
  • Daily Cup of WinSCP file Download with todays date [closed]
  • C Linking Error: undefined reference to 'main'
  • Vue.js eslint Parsing error .: unexpected token
  • Google Cloud Functions: Project layout for Github publishing
  • What policy templates should an AWS IAM user have in order to deploy an EB application?
  • How to visualize k-means centroids for each iteration?
  • Determine current print job color using C#
  • Changing FireFox Push Message Provider
  • How to validate password field in bootstrap?
  • Test fails, how to find out why?
  • Duplicated entries to mySQL using jQuery ajax and PHP
  • Push Notifications: Associating a device token with a device
  • Boostrap 4 snackbar / toast [closed]
  • TableView gets laggy with data
  • @DBRef doesn't pull the Data when use Spring Data Mongo
  • Multiple Left Joins - how to?
  • Why UIWebView work so slowly when loadHTMLString with UIWebView?
  • How to add Conditional Formatting to an XML / Excel file?
  • npm package “watch” giving “no such file or directory” error
  • Overlay histograms in R
  • Saved Core Data does not persist after app closes 80% of the time
  • JSON data - Group by days of the week(Sun,Mon,Tue, Wed,Thu,Fri,Sat) using Javascript/Jquery
  • locationManager avoid (null) string in a Label
  • get value using jquery
  • Unknown type name with typedef struct in C
  • Unable to connect to Azure MySQL Database through Azure Function - C#
  • How to get the Owner of the ContextMenu (from Silverlight 4 toolkit)?
  • How to use Streams api peek() function and make it work?