#47187 [Com]: mbstring.func_overload in .htaccess has no effect

From: Date: Thu, 24 Sep 2009 10:11:15 +0000
Subject: #47187 [Com]: mbstring.func_overload in .htaccess has no effect
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2809@lists.php.net to get a copy of this message
 ID:               47187
 Comment by:       maxage at mail dot ru
 Reported By:      antonius dot suryatenggara at aus dot fujixerox dot
                   com
 Status:           To be documented
 Bug Type:         Documentation problem
 Operating System: Windows Server 2003 Standard
 PHP Version:      5.2.8
 New Comment:

I read comment in php.ini
; overload(replace) single byte functions by mbstring functions.
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
; etc. Possible values are 0,1,2,4 or combination of them.
set mbstring.func_overload = 0,7
And all working well.
May be it wrong... but it's work.


Previous Comments:
------------------------------------------------------------------------

[2009-04-20 07:59:26] andre dot huebner at gmx dot de

will this feature be available again in future versions of php or by
patch? if not the documentation should be changed cause it still shows
the old behaviour.
Andre

------------------------------------------------------------------------

[2009-02-28 23:27:16] test at test dot ru

:(

------------------------------------------------------------------------

[2009-02-07 21:12:24] damager at seznam dot cz

It seems I've same problem on debian etch, apache 2.2.3-4+etch6 & php
5.2.0-8+etch13. When I set mbstring.func_overload in .htaccess it don't
override php value.

------------------------------------------------------------------------

[2009-01-22 13:43:00] jani@php.net

It's not possible to change it in perdir configs anymore. Fix for bug
#43227 changed this. Apparently Rui forgot to document it..:)

------------------------------------------------------------------------

[2009-01-22 04:15:45] antonius dot suryatenggara at aus dot fujixerox
dot com

Description:
------------
Setting for mbstring.func_overload in .htaccess is not reflected.

For information, this works in PHP 5.2.6, 
but does not work in 5.2.8 or 5.2.9 snapshot (22 Jan 2009).

In php.ini: 
    mbstring.func_overload = 0

In httpd.conf: 
    AllowOverride All

In $WEBROOT/test folder put .htaccess:
    php_value mbstring.func_overload 7





Reproduce code:
---------------
<?php phpinfo() ?>


Expected result:
----------------
mbstring.func_overload
    Local Value = 7
    Master Value = 0

Actual result:
--------------
mbstring.func_overload
    Local Value = 0
    Master Value = 0


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=47187&edit=1



Thread (10 messages)

« previous php.doc.bugs (#2809) next »