#49235 [Bgs]: mbstring.func_overload cannot be set via ini_set() or in htaccess
| From: | tony at marston-home dot demon dot co dot uk | Date: | Wed, 12 Aug 2009 18:51:05 +0000 |
| Subject: | #49235 [Bgs]: mbstring.func_overload cannot be set via ini_set() or in htaccess | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-140987@lists.php.net to get a copy of this message | ||
ID: 49235
User updated by: tony at marston-home dot demon dot co dot uk
Reported By: tony at marston-home dot demon dot co dot uk
Status: Bogus
Bug Type: mbstring related
Operating System: Windows XP
PHP Version: 5.2.10
New Comment:
mbstring.func_overload cannot be set in htaccess. See bug #49238
Previous Comments:
------------------------------------------------------------------------
[2009-08-12 13:16:31] scottmac@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
The setting is PHP_INI_PERDIR which means in .htaccess or in php.ini,
the .htaccess method works for me.
ini_set() will not work
------------------------------------------------------------------------
[2009-08-12 13:03:17] tony at marston-home dot demon dot co dot uk
Description:
------------
Cannot set mbstring.func_overload via ini_set(), nor in htaccess
Reproduce code:
---------------
$result1 = ini_set('mbstring.func_overload', 2); // false
$result2 = ini_get('mbstring.func_overload'); // 0 (should be 2)
Expected result:
----------------
$result2 should be 2 as a result of the previous ini_set().
Actual result:
--------------
ini_get() returns a result of 0 when it should be 2.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49235&edit=1