Sunday, July 3, 2011

Error Configuring PHP with Apache 2.2 in the Windows Environment

This below is the error that i was getting all the time..

Faulting application name: httpd.exe, version: 2.2.19.0, time stamp: 0x4dd6eda8
Faulting module name: php5ts.dll, version: 5.2.17.17, time stamp: 0x4d25fb49
Exception code: 0xc0000005
Fault offset: 0x000f424c
Faulting process id: 0x164c
Faulting application start time: 0x01cc3a0dfa1b4032
Faulting application path: C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin\httpd.exe
Faulting module path: C:\Program Files (x86)\PHP\php5ts.dll
Report Id: 37d4d367-a601-11e0-87c4-842b2bbfdf75

I found out that this issue is definitely related to one of the extensions in the php library, 

- When i install all extensions it fails with this error. 
- When i only install PDO for MySQL and MySQL extensions it works. 
- I suggest that people only install extensions that they need and it it still fails then the problem is related to one of those extensions that have been installed.