Bug #53830 [Com]: php5apache2_2.dll crashes Apache 2
| From: | kjmiller at millikin dot edu | Date: | Mon, 24 Jan 2011 17:06:39 +0000 |
| Subject: | Bug #53830 [Com]: php5apache2_2.dll crashes Apache 2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-158143@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53830&edit=1
ID: 53830
Comment by: kjmiller at millikin dot edu
Reported by: kjmiller at millikin dot edu
Summary: php5apache2_2.dll crashes Apache 2
Status: Open
Type: Bug
Package: Apache2 related
Operating System: Win XP Pro SP3 (2600)
PHP Version: 5.3.5
Block user comment: N
Private report: N
New Comment:
Problem resolved.
PHP 5.3.5 cannot be installed with the default features. The Curl,
OpenSSL, and postgreSQL extensions must be disabled.
Many thanks to this guide:
http://www.websiteadministrator.com.au/articles/install_guides/installing_php535_pg2.html
I hope there can be some documentation about the different install
procedures for XP and 7...
Previous Comments:
------------------------------------------------------------------------
[2011-01-24 17:36:19] kjmiller at millikin dot edu
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 this bug report at http://bugs.php.net/bug.php?id=53830&edit=1