#43677 [Com]: Inconsistent behaviour of include_path set with php_value
| From: | phpbugs at afilas dot nl | Date: | Tue, 22 Jan 2008 10:33:00 +0000 |
| Subject: | #43677 [Com]: Inconsistent behaviour of include_path set with php_value | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121437@lists.php.net to get a copy of this message | ||
ID: 43677
Comment by: phpbugs at afilas dot nl
Reported By: root at net1 dot cc
Status: Open
Bug Type: Safe Mode/open_basedir
Operating System: FreeBSD 6.2
PHP Version: 5.2.5
New Comment:
I have the same problem here with Apache 1.3 and FreeBSD 6.2. I am
wondering why there is no response from the PHP dev team on this issue,
as this a fairly serious issue IMHO. I chose to downgrade to 5.2.4 for
the time being, hoping that this issue is fixed in 5.2.6.
Previous Comments:
------------------------------------------------------------------------
[2008-01-21 18:37:21] manuel at mausz dot at
As I said before, my patch breaks the ini settings abi resulting in
segfaults if "old" extensions are loaded. Due to the fact that one of my
customers is using a proprietary extension I have implemented an
alternate, dirty but hopefully non-breaking patch.
The patch stores the original value 3 bits to the left of the new
value. This method won't break any php or pecl extensions (all checked).
Only ext/reflection needs to be recompiled.
http://manuel.mausz.at/coding/patches/php/5.2.5/php5.2.5-restore-ini-level2.patch
------------------------------------------------------------------------
[2008-01-20 11:22:55] thorvath at fullnet dot hu
I have the same problem on FreeBSD 6.1 with php5-5.2.5, tried to patch
with the FreeBSD patch above, recompiled all modules, when I load
php5_module apache sigfaults with 11 and core dumps, I use the apache22
port.
------------------------------------------------------------------------
[2008-01-19 15:56:00] scott at atomicrocketturtle dot com
Testing this patch against 5.2.5, ioncube-loader and zend-optimizer
will cause segmentation faults. Similar result with eaccelerator, which
was resolved with a rebuild.
------------------------------------------------------------------------
[2008-01-17 16:52:48] d at tpyo dot net
Thanks Manuel. Patch works perfectly. But I agree, it is a fairly
serious issue that undoubtedly affects a lot of users.
------------------------------------------------------------------------
[2008-01-17 13:40:04] manuel at mausz dot at
Err... php as apache module... :)
------------------------------------------------------------------------
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/43677
--
Edit this bug report at http://bugs.php.net/?id=43677&edit=1