php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70849 PHP 5.4.45 + apache 2.2.31 crashes apache with error 3221225477
Submitted: 2015-11-03 21:27 UTC Modified: 2015-11-06 14:44 UTC
From: cifroes at netcabo dot pt Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5.4.45 OS: Windows 7 64 bits
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: cifroes at netcabo dot pt
New email:
PHP Version: OS:

 

 [2015-11-03 21:27 UTC] cifroes at netcabo dot pt
Description:
------------
After installing PHP 5.4.45 on apache 2.2.31, when I try to go to a simple "phpinfo()" page, apache crashes and restarts with an error like this:

[Tue Nov 03 21:24:19 2015] [notice] Parent: child process exited with status 3221225477 -- Restarting.

The full log after my request:

[Tue Nov 03 21:24:19 2015] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Tue Nov 03 21:24:20 2015] [notice] Apache/2.2.31 (Win32) mod_ssl/2.2.31 OpenSSL/1.0.1p configured -- resuming normal operations
[Tue Nov 03 21:24:20 2015] [notice] Server built: Jul 15 2015 14:02:24
[Tue Nov 03 21:24:20 2015] [notice] Distributed by: The Apache Haus (http://www.apachehaus.com)
[Tue Nov 03 21:24:20 2015] [notice] Compiled with: Visual Studio 2008
[Tue Nov 03 21:24:20 2015] [notice] Parent: Created child process 35312
[Tue Nov 03 21:24:21 2015] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Nov 03 21:24:22 2015] [notice] Child 35312: Child process is running
[Tue Nov 03 21:24:22 2015] [notice] Child 35312: Acquired the start mutex.
[Tue Nov 03 21:24:22 2015] [notice] Child 35312: Starting 64 worker threads.
[Tue Nov 03 21:24:22 2015] [notice] Child 35312: Starting thread to listen on port 80.
[Tue Nov 03 21:24:22 2015] [notice] Child 35312: Starting thread to listen on port 80.
[Tue Nov 03 21:24:29 2015] [notice] Parent: child process exited with status 3221225477 -- Restarting.


And the instructions I followed to configure this:
My steps to get to this installation were:

- download apache from apache lounge, version 2.2.31 x86 VC10 ( https://www.apachelounge.com/download/win32/binaries/httpd-2.2.31-win32.zip )
- download php 5.4.45 thread safe vc9 x86 ( http://windows.php.net/downloads/releases/php-5.4.45-Win32-VC9-x86.zip )
- edit httpd.conf setting correct server root and document root
- edit httpd.conf and add php with
  LoadModule php5_module "D:/www/php-5.4.45-Win32-VC9-x86\php5apache2_2.dll"
  AddHandler application/x-httpd-php .php
  PHPIniDir "D:/www/php-5.4.45-Win32-VC9-x86"

- start apache and navigate to the page getting that error


When I revert to PHP_5.3.24 everything works perfectly. Also tested php-5.4.28 and it has the same problem


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-11-06 14:44 UTC] ab@php.net
-Status: Open +Status: Not a bug
 [2015-11-06 14:44 UTC] ab@php.net
Thanks for the report. Please fetch the latest stable supported PHP 5 release (5.5 or 5.6) and Apache 2.4, compiled with the same Visual Studio version (official PHP 5 builds are done with VC11) and preferrably using the same OpenSSL version. Please note that PHP 5.4 is an EOL version.

Thanks.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Fri May 08 16:00:01 2026 UTC