#49189 [Tbd->Csd]: mbstring.func_overload can not be changed out of php.ini

From: Date: Fri, 11 Sep 2009 06:15:19 +0000
Subject: #49189 [Tbd->Csd]: mbstring.func_overload can not be changed out of php.ini
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-2762@lists.php.net to get a copy of this message
ID: 49189 Updated by: torben@php.net Reported By: syu at pss dot com -Status: To be documented +Status: Closed Bug Type: Documentation problem Operating System: Linux PHP Version: 5.3.0 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2009-09-11 06:08:26] svn@php.net Automatic comment from SVN on behalf of torben Revision: http://svn.php.net/viewvc/?view=revision&revision=288256 Log: Note that mbstring.func_overload is once again PHP_INI_SYSTEM only. Addresses bugs #49238, #43227, and #49189. This really should have been mentioned in the release notes for 5.2.7 and 5.3.0. ------------------------------------------------------------------------ [2009-08-07 09:40:05] jani@php.net Obviously the documentation is wrong, it's PHP_INI_SYSTEM in sources since fix of bug #43227 for PHP 5.2.7. ------------------------------------------------------------------------ [2009-08-07 08:35:15] syu at pss dot com Description: ------------ For the link:http://us3.php.net/manual/en/ini.list.php, the variable "mbstring.func_overload" is set to PHP_INI_PERDIR. But actually, we can not change its value except php.ini. I trid to change its value in httpd.conf, .htacces or ini_set(). But none of above succeeded. Reproduce code: --------------- I made one sub-directoy "test" in Apache HTMLRoot direcotry. The related configureation in httpd.conf is as below: <Directory "/usr/local/apache2/htdocs/test"> php_value mbstring.func_overload 7 php_value mbstring.encoding_translation On AllowOverride All Order allow,deny Allow from all </Directory> In the file "index.php" of the "test" sub-directory, I wrote the following code: <?php echo 'the value = '.ini_get('mbstring.encoding_translation')."</br>"; echo 'the value = '.ini_get('mbstring.func_overload')."</br>"; ?> Expected result: ---------------- the value = On the value = 7 Actual result: -------------- the value = On the value = 0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49189&edit=1

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