#44421 [Fbk->Opn]: Core dump using PHP 5.2.5 with suExec and mod_cgid
| From: | obonhomme at nerim dot net | Date: | Wed, 26 Mar 2008 13:53:17 +0000 |
| Subject: | #44421 [Fbk->Opn]: Core dump using PHP 5.2.5 with suExec and mod_cgid | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-123666@lists.php.net to get a copy of this message | ||
ID: 44421
User updated by: obonhomme at nerim dot net
Reported By: obonhomme at nerim dot net
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: FreeBSD 6.3
PHP Version: 5.2CVS-2008-25-03
Assigned To: fb-req-jani
New Comment:
The phpinfo script is available at the following URL
http://forum.kajiura.fr/phpdebug4421.php
The issue occurs with the index.php script which is effectively is very
big. The problem is that the bug is reproductible only with this script.
So it is not possible for the moment to make a shorter script.
Previous Comments:
------------------------------------------------------------------------
[2008-03-26 12:29:06] jani@php.net
And also that the binary does NOT have ZTS enabled!
------------------------------------------------------------------------
[2008-03-26 12:27:52] jani@php.net
That script is way too big for reproducing this elsewhere. Please
provide a shorter script, 10-20 lines which still causes the crash.
I'd also check with plain '<?php phpinfo(); ?>' script that the used
PHP binary is the correct one and what php.ini file(s) are loaded and
what possible extensions are loaded.
------------------------------------------------------------------------
[2008-03-26 10:10:28] obonhomme at nerim dot net
I recompiled my PHP with the following command line :
'./configure' '--with-layout=GNU'
'--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all'
'--enable-libxml' '--with-libxml-dir=/usr/local' '--enable-reflection'
'--program-prefix=' '--enable-fastcgi' '--prefix=/usr/local'
'--mandir=/usr/local/man' '--infodir=/usr/local/info/'
Nevertheless, the php-cgi binary still cores with this script.
------------------------------------------------------------------------
[2008-03-25 19:34:37] jani@php.net
Yes, you might have those binaries there, but they're NOT from the same
build: That simply is NOT possible. So check for real WHICH ones are
from this build. Then I suggest you rebuild the CGI binary just in case
_without_ these options:
'--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php'
'--with-zend-vm=CALL' '--enable-zend-multibyte'
------------------------------------------------------------------------
[2008-03-25 15:03:32] obonhomme at nerim dot net
This configuration line have been generated using the FreeBSD port and
I confirm that php-cli, php-cgi and the apache module are present on my
system.
I confirm that I use the Apache Worker MPM (So a threaded one)
I add that I have severals others vhost using php-cgi which works on
the same server.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/44421
--
Edit this bug report at http://bugs.php.net/?id=44421&edit=1