ID: 43677
Comment by: laurent_dorer at yahoo dot fr
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:
Hi, we have got the same problem here:
two virtualhost for our site in utf8 (with mbstring activated) and
another virtualhost for our mediawiki. The problem occurs when someone
goes on the web site (mbstring.func_overload 6) then, the mediawiki
(mbstring.func_overload 0) starts to behave randomly => sometimes it's
ok and sometime it's like if func_overload was set to 6.
I spend a lot of time to found this was a bug, and didn't find any
solution... neither in apache bugs, nor php bug :(
Previous Comments:
------------------------------------------------------------------------
[2008-02-14 12:06:42] it at inmolinkmls dot com
We have compiled the latest CVS snapshot
(http://snaps.php.net/php5.2-latest.tar.gz) on Linux kernel
2.6.9-42.plus.c4 (Centos 4) as apache2 module with no luck. We have used
just the most basic configuration (--with-apxs2=/wwwroot/bin/apxs).
We have been able to reproduce the bug with 2 virtualhost, one with
php_value and another one with php_admin_value. As soon as we load the
one with php_admin_value, the include_path of the first one starts to
randomly fail.
We have a serious problem with this bug, since we are developing an
application with Zend Framework (Did you realize how seriously this bug
affects Zend Framework MVC (Zend/Loader.php / loadFile (#125))? It just
doesn't work at all because of the bug).
Hope to see this bug solved soon.
------------------------------------------------------------------------
[2008-02-07 00:56:08] manuel at mausz dot at
There's no need to test this. I can still see the bug in CVS.
Look at zend_ini.c: ini_entry->modifiable gets modified (... =
ZEND_INI_SYSTEM) and won't get restored after the request has been
processed (zend_restore_ini_entry_cb).
------------------------------------------------------------------------
[2008-02-07 00:47:55] jani@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
Just to be sure this isn't fixed already. There were some changes done
but I'm not sure anymore if those actually went into 5.2.5 and I don't
have Apache setup around to test right now..
------------------------------------------------------------------------
[2008-02-07 00:45:48] jani@php.net
See also bug #43755
------------------------------------------------------------------------
[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
------------------------------------------------------------------------
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