#37932 [Opn->Fbk]: Transport mbstring settings from .httaccess to apache processes.
| From: | tony2001@php.net | Date: | Tue, 27 Jun 2006 18:25:56 +0000 |
| Subject: | #37932 [Opn->Fbk]: Transport mbstring settings from .httaccess to apache processes. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-98843@lists.php.net to get a copy of this message | ||
ID: 37932
Updated by: tony2001@php.net
Reported By: prodelal at oldany dot cz
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: Linux / RHEL 4
PHP Version: 4.4.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-06-27 18:18:27] prodelal at oldany dot cz
Description:
------------
We use mbstring directives in .htaccess in one of our virtualhost
.htaccess:
==========
php_value mbstring.func_overload 6
php_value mbstring.internal_encoding UTF-8
php_flag mbstring.encoding_translation Off
But problem is, that if one of apache process load this virtualhost
(mean processing it), after that next virtualhost is load into this
proccess and mbstring settings are valid here also.
We have to do in all our projects, that we put into .htaccess
directives of mbstring which set default values. This is not OK,
becuase we have troubles with older and new projects, we have to set
defautl values of mbstring, because if there are settings (above), many
projects would not work and post errors, because they have different
encoding.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37932&edit=1