Posts Tagged ‘apache’

Fix: PHP 5.2 and 5.3 crash Apache 2.2.14

December 21, 2009 - 5:25 am 18 Comments

Having just bought a new laptop, I went about installing Apache 2.2.14 and PHP 5.3.1 VC6 but quickly ran into problems when Apache flat out refused to load after PHP was installed.

The error Apache throws is “The requested operation has failed!”.

Apache crashes after installing PHP

Apache crashes after installing PHP


In event viewer, you will see something like:

Faulting application name: httpd.exe, version: 2.2.14.0, time stamp: 0×4ac181d6
Faulting module name: php5ts.dll, version: 5.3.1.0, time stamp: 0×4b051b35
Exception code: 0xc0000005
Fault offset: 0×000e618c
Faulting process id: 0xd90
Faulting application start time: 0×01ca81af664b1357
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: a40dce43-eda2-11de-9f0c-005056c00008

To cut a long story short, I went through each line of the php.ini file seeing which one was causing the problem. I narrowed it down to this extension:

[PHP_SYBASE_CT]
extension=php_sybase_ct.dll

Change to:

[PHP_SYBASE_CT]
;extension=php_sybase_ct.dll

Uncomment this extension by placing a semi colon in front, and Apache will load without any problem.

If you found this post helpful, leave a comment to let me know, thanks.