Re: mb_string.func_overload as secretly beeb changed from PERDIR to SYSTEM
| From: | Tomas Kuliavas | Date: | Wed, 09 Sep 2009 17:43:20 +0000 |
| Subject: | Re: mb_string.func_overload as secretly beeb changed from PERDIR to SYSTEM | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-45545@lists.php.net to get a copy of this message | ||
2009.09.09 19:12 Tony Marston rašė:
> I have reported this problem in
> http://bugs.php.net/bug.php?id=49238. It
> would appear that this option, which was first made available in PHP
> 4.2.0,
> has been silently dropped. Apparently the decision was made in order to
> fix
> http://bugs.php.net/bug.php?id=43227, but nothing was
> explicitly stated in
> the bug report, nor in any release notes, and the documentation still has
> not been updated to reflect this change even after 6 months.
>
> This causes a problem if your site is on a shared server and you don't
> have
> access to either php.ini or httpd.conf. If this option is turned off by
> default, then how do you turn it on? If it is on by default then how do
> you turn it off? It needs to be turned off for phpMyAdmin otherwise it
> will issue a message warning about possible data corruption.
I think you can turn off mbstring overloading by setting internal mbstring
encoding to 'pass'. Instead of turning mbstring overloading on you should
use mbstring functions.
--
Tomas