From:             
Operating system: Win XP Pro SP3 (2600)
PHP version:      5.3.5
Package:          Apache2 related
Bug Type:         Bug
Bug description:php5apache2_2.dll crashes Apache 2

Description:
------------
Description:



Apache crashes when loading the php5apache2_2.dll module.



**** NOTE ****



Other bugs are similar, but use Apache 2.2.9, XP SP2, multiple versions of
PHP on same machine, etc...







PHP version: 5.3.5

Apache Version: 2.2.17



I should note that the properties on my php.exe and php-win.exe files claim
it to be version 5.2.17.17. 



Installer files:

PHP: php-5.3.5-win32-VC6-x86

Apache: httpd-2.2.17-win32-x86-openssl-0.9.8o





Other information:



Installed PHP on my XP x86 laptop over the network using the exact same
files I used to install it on my desktop (running 7 Ultimate x64). Works
fine on Windows 7.



Test script:
---------------
Reproducing code:



Not applicable; Apache crashes before any code is run.





Adding:



#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL

LoadModule php5_module "php5apache2_2.dll"

PHPIniDir "C:/Program Files/PHP"

#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL



To httpd.conf blows up Apache (and yes, the php5apache2_2.dll file is in
the Apache module folder).



Expected result:
----------------
Expected result:



Apache works with PHP5.

Actual result:
--------------
Actual result:



Apache goes tits up:





Apache error file:



[Mon Jan 24 09:29:01 2011] [notice] Parent: Received restart signal --
Restarting the server.

[Mon Jan 24 09:29:01 2011] [notice] Child 1552: Exit event signaled. Child
process is ending.

[Mon Jan 24 09:29:01 2011] [notice] Apache/2.2.17 (Win32) configured --
resuming normal operations

[Mon Jan 24 09:29:01 2011] [notice] Server built: Oct 18 2010 01:58:12

[Mon Jan 24 09:29:01 2011] [notice] Parent: Created child process 3104

[Mon Jan 24 09:29:02 2011] [notice] Child 1552: Released the start mutex

[Mon Jan 24 09:29:03 2011] [notice] Child 1552: All worker threads have
exited.

[Mon Jan 24 09:29:03 2011] [notice] Child 1552: Child process is exiting

[Mon Jan 24 09:29:09 2011] [crit] (OS 6)The handle is invalid.  :
master_main: create child process failed. Exiting.

[Mon Jan 24 09:29:09 2011] [notice] Parent: Forcing termination of child
process 36 





Windows event viewer:



Faulting application httpd.exe, version 2.2.17.0, faulting module
php5ts.dll, version 5.3.5.0, fault address 0x0008582b.





**** NOTE ****



Sometimes, the faulting module is unknown, sometimes it is php5ts.dll. As
far as I can tell, this is related to whether or not the phpinidir line is
active in the httpd.conf file.



-- 
Edit bug report at http://bugs.php.net/bug.php?id=53830&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=53830&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=53830&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=53830&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=53830&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=53830&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=53830&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=53830&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=53830&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=53830&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=53830&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=53830&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=53830&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=53830&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=53830&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=53830&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=53830&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=53830&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=53830&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=53830&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=53830&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=53830&r=mysqlcfg

Reply via email to