Doc #47187 [Com]: mbstring.func_overload in .htaccess has no effect
| From: | b3q dot ru at ya dot ru | Date: | Thu, 19 May 2011 12:55:46 +0000 |
| Subject: | Doc #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-6596@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=47187&edit=1
ID: 47187
Comment by: b3q dot ru at ya dot ru
Reported by: antonius dot suryatenggara at aus dot fujixerox dot
com
Summary: mbstring.func_overload in .htaccess has no effect
Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: Windows Server 2003 Standard
PHP Version: 5.2.8
Block user comment: N
Private report: N
New Comment:
Man "mail2010 at marc-richter dot info" - you really help to me.
Big thx for you and other participants in the discussion. I don't
understand r
this solution true, but this work!
Previous Comments:
------------------------------------------------------------------------
[2010-09-07 13:08:37] mail2010 at marc-richter dot info
LOL ! ! ! ! !
I've not found this anywhere on the net, but I figured it out by try and
error ;D
I think I've found the solution for everyone who has the problem to set
different "mbstring.func_overload" - settings in different dirs:
Don't use php_value for setting this within your vhost - file: Simply
use php_admin_value - this works! :D
But be aware of the fact that this cannot be used within a .htaccess -
file. You have to insert s.th. like:
"php_admin_value mbstring.func_overload 7" inside your vhost - Files
(between the <Directory></Directory> Area for example).
------------------------------------------------------------------------
[2010-09-07 11:55:21] mail2010 at marc-richter dot info
Sorry, I don't get it. Does this mean that a "fix" has issued the
behavior that one cannot set the mbstring.* - options somewhere else
than in the global php.ini - file(s) anymore and this will stay this
way, because it's wanted behavior? I don't understand how to deal with
this then, since there are several Applications out there which
_require_ this to be set to 7 (eGroupware www.egroupware.org for
example), since others require this to be disabled (like phpmyadmin
www.phpmyadmin.net for example).
How should one deal with this?
------------------------------------------------------------------------
[2010-01-07 11:23:44] kalle@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
------------------------------------------------------------------------
[2010-01-07 11:23:40] svn@php.net
Automatic comment from SVN on behalf of kalle
Revision: http://svn.php.net/viewvc/?view=revision&revision=293212
Log: Fixed bug #47187 (mbstring.func_overload in .htaccess has no
effect)
------------------------------------------------------------------------
[2009-09-24 10:11:15] maxage at mail dot ru
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.
------------------------------------------------------------------------
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/bug.php?id=47187
--
Edit this bug report at http://bugs.php.net/bug.php?id=47187&edit=1