#20539 [Fbk->Ctl]: PHP CLI Segmentation Fault
| From: | sniper@php.net | Date: | Thu, 28 Nov 2002 09:55:05 +0000 |
| Subject: | #20539 [Fbk->Ctl]: PHP CLI Segmentation Fault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26049@lists.php.net to get a copy of this message | ||
ID: 20539
Updated by: sniper@php.net
Reported By: boris@penck.de
-Status: Feedback
+Status: Critical
-Bug Type: Reproducible crash
+Bug Type: Session related
Operating System: Linux
PHP Version: 4CVS-2002-11-21 (stable)
New Comment:
This crash happens when php.ini (or php-cli.ini :) contains
'session.auto_start = 1' AND 'magic_quotes_gpc = On'
Previous Comments:
------------------------------------------------------------------------
[2002-11-28 02:46:31] boris@penck.de
I can't tell. Is php.ini loaded if php-cli.ini doesn't exists by
default ?
------------------------------------------------------------------------
[2002-11-28 02:32:59] sniper@php.net
Is that php.ini loaded by php then when this crash happens?
------------------------------------------------------------------------
[2002-11-28 02:28:09] boris@penck.de
If I remove the php-cli.ini from my /usr/local/lib directory the
backtrace is the same. And no - I do not have multiple php-*.ini files.
One php.ini and a php-cli.ini ( since today morning ).
I copied the original php.ini-dist to /usr/local/lib/php-cli.ini and
everything is fine. ( I will customize the file later )
------------------------------------------------------------------------
[2002-11-28 02:23:54] sniper@php.net
Is the backtrace still the same?
And do you have any other php-*.ini files anywhere in your system? If
you do have, please make a diff between it and
the php.ini-dist
------------------------------------------------------------------------
[2002-11-28 02:09:28] boris@penck.de
After a very long night I solved the problem. Don't hurt me ! The
standard php make install doesn't create the php-cli.ini and if this
file is missing my php-cli segfaults. If it's present - all is fine.
------------------------------------------------------------------------
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/20539
--
Edit this bug report at http://bugs.php.net/?id=20539&edit=1