#27421 [Fbk->Csd]: mbstring.func_overload set in .htaccess becomes global
From: iliaa@php.net Date: Sun, 07 Mar 2004 17:16:48 +0000 Subject: #27421 [Fbk->Csd]: mbstring.func_overload set in .htaccess becomes global References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-56039@lists.php.net to get a copy of this message
ID: 27421
Updated by: iliaa@php.net
Reported By: php at strategma dot bg
-Status: Feedback
+Status: Closed
Bug Type: mbstring related
Operating System: Slackware 9.1 kernel: 2.4.22
PHP Version: 4.3.4
Previous Comments:
------------------------------------------------------------------------
[2004-03-07 06:10:30] moriyoshi@php.net
Could you try php-4.3.5RC3 instead of the current CVS snapshots?
http://qa.php.net/
------------------------------------------------------------------------
[2004-03-06 14:22:29] iliaa@php.net
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
------------------------------------------------------------------------
[2004-02-27 10:12:38] php at strategma dot bg
Description:
------------
./configure \
--with-apxs=/usr/local/apache/bin/apxs \
--prefix=/usr/local/php --enable-mbstring \
--with-mbregex
apache version 1.3.29
we set in .htaccess
PHP_VALUE mbstring.internal_encoding UTF-8
PHP_VALUE default_charset UTF-8
PHP_VALUE mbstring.http_output UTF-8
PHP_VALUE mbstring.encoding_translation On
PHP_VALUE mbstring.detect_order UTF-8
PHP_VALUE mbstring.func_overload 7
for specific site, but string functions on other web sites at the same
apache doest work (other sites use CP1251 enconding).
The string functions stop to work when anyone access the unicode site.
When we stop apache and start it again cp1251 string functions work
properly.
we tryed the same configuration in the <VirtualHost> directive at
apache's
httpd.conf for the UNICODE site
and in the <Directory> but it is the same result
With or without setlocale(LC_ALL,"bg_BG.CP1251") or
bg_BG or bg_BG.UTF-8 we have tryed all combinations and it still doesnt
work.
thanks in advance
Reproduce code:
---------------
<?php
$v = 'Òîâà å òåñò|test.php';
print substr($v,0,strpos($v,'|'));
?>
Expected result:
----------------
Òîâà å òåñò
Actual result:
--------------
Òîâà
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27421&edit=1
Thread (28 messages)
- #27421 [Opn->Csd]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Csd->Fbk]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Fbk->Csd]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Csd->Fbk]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Fbk->NoF]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [NoF]: mbstring.func_overload set in .htaccess becomes global
- #27421 [NoF->Asn]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Asn->Opn]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Opn->Asn]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Asn->Fbk]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [Com]: mbstring.func_overload set in .htaccess becomes global
- #27421 [NoF->Csd]: mbstring.func_overload set in .htaccess becomes global
| « previous | php.bugs (#56039) | next » |
|---|