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

From: Date: Fri, 20 Jul 2012 08:22:56 +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-8604@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=47187&edit=1

 ID:                 47187
 Comment by:         conrad dot philipp at gmail dot com
 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:

I've solved the problem with this additional lines in the 'httpd.conf' :

<Directory "/your_path/egroupware">
php_admin_value mbstring.func_overload 7
Order allow,deny
Allow from all
</Directory>

<Directory "/your_path/egroupware/rpc.php">
php_admin_value mbstring.func_overload 0
Order allow,deny
Allow from all
</Directory>



That solved my problem. Don't make any changes at the 'mbtsring.func_overload'-line
in the 'php.ini' or '.htaccess' -file


Previous Comments:
------------------------------------------------------------------------
[2011-05-19 14:55:46] b3q dot ru at ya dot ru

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!

------------------------------------------------------------------------
[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)

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


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

    https://bugs.php.net/bug.php?id=47187


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


Thread (10 messages)

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