Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45545 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79768 invoked from network); 9 Sep 2009 17:51:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Sep 2009 17:51:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=tokul@users.sourceforge.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=tokul@users.sourceforge.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain users.sourceforge.net from 77.240.252.9 cause and error) X-PHP-List-Original-Sender: tokul@users.sourceforge.net X-Host-Fingerprint: 77.240.252.9 avilys.eik.lt Linux 2.6 Received: from [77.240.252.9] ([77.240.252.9:35295] helo=avilys.eik.lt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3F/48-38554-53BE7AA4 for ; Wed, 09 Sep 2009 13:51:50 -0400 Received: from avilys.eik.lt (avilys.local [127.0.0.1]) by avilys.eik.lt (Postfix) with ESMTP id EE8B91F510A; Wed, 9 Sep 2009 20:43:20 +0300 (EEST) Received: from avilys.eik.lt (avilys.local [127.0.0.1]) by avilys.eik.lt (Postfix) with ESMTP id D2B461F5107; Wed, 9 Sep 2009 20:43:20 +0300 (EEST) Received: from 78.63.148.50 (NaSMail authenticated user tomas@topolis.lt) by avilys.eik.lt with HTTP; Wed, 9 Sep 2009 20:43:20 +0300 (EEST) Message-ID: <40100.4e3f9432.1252518200.nsm@avilys.eik.lt> In-Reply-To: <83.35.38554.204D7AA4@pb1.pair.com> References: <83.35.38554.204D7AA4@pb1.pair.com> Date: Wed, 9 Sep 2009 20:43:20 +0300 (EEST) To: "Tony Marston" Cc: internals@lists.php.net User-Agent: NaSMail/1.6 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [PHP-DEV] mb_string.func_overload as secretly beeb changed from PERDIR to SYSTEM From: tokul@users.sourceforge.net ("Tomas Kuliavas") 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