php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46515 Simple PHP Crashes Apache
Submitted: 2008-11-07 11:38 UTC Modified: 2008-11-10 11:23 UTC
From: markwod at yahoo dot co dot uk Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.2.6 OS: Windows XP
Private report: No CVE-ID: None
 [2008-11-07 11:38 UTC] markwod at yahoo dot co dot uk
Description:
------------
When I call the code below, it causes Apache (2.2.10) to crash. This seems to have just started happening after I removed PHPed and Komodo. Since then I've backed out all Apache and PHP setting and reinstalled. Still there. Apache error log reports:

[Fri Nov 07 11:34:55 2008] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Fri Nov 07 11:34:55 2008] [notice] Apache/2.2.10 (Win32) PHP/5.2.6 configured -- resuming normal operations
[Fri Nov 07 11:34:55 2008] [notice] Server built: Oct 10 2008 12:39:04
[Fri Nov 07 11:34:55 2008] [notice] Parent: Created child process 6004
[Fri Nov 07 11:34:56 2008] [notice] Child 6004: Child process is running
[Fri Nov 07 11:34:56 2008] [notice] Child 6004: Acquired the start mutex.
[Fri Nov 07 11:34:56 2008] [notice] Child 6004: Starting 64 worker threads.
[Fri Nov 07 11:34:56 2008] [notice] Child 6004: Starting thread to listen on port 8080.


I'm out of idea's as what else to try. Looking around on the web hasn't revealed anything.

Windows XP
PHP 5.2.6
Apache 2.2.10

Regards

Mark

Reproduce code:
---------------
<?
phpinfo();
?>

Expected result:
----------------
The usual env op


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-07 15:13 UTC] felipe@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2008-11-10 08:38 UTC] markwod at yahoo dot co dot uk
Sadly it's made no difference....
 [2008-11-10 10:42 UTC] markwod at yahoo dot co dot uk
Ok, so found that if I have 

;[PHP_THREADS]
;extension=php_threads.dll

in the php.ini file it crashes the CLI. Any reason for this?

Thanks

Marks
 [2008-11-10 10:44 UTC] markwod at yahoo dot co dot uk
Okay so found that the Threads module crashes the CLI? Any reason for this? Commenting it out of the PHP.ini file and all is well

;[PHP_THREADS]
;extension=php_threads.dll

Thanks

Mark
 [2008-11-10 11:23 UTC] jani@php.net
That's some PECL extension. Please don't report bugs in PECL extensions here. The correct place is found somewhere in http://pecl.php.net/
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 16 09:01:32 2024 UTC