Doc #49189 [Com]: mbstring.func_overload can not be changed out of php.ini

From: Date: Thu, 06 Jan 2011 13:41:14 +0000
Subject: Doc #49189 [Com]: 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-5754@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=49189&edit=1 ID: 49189 Comment by: lars dot schultz at toolpark dot com Reported by: syu at pss dot com Summary: mbstring.func_overload can not be changed out of php.ini Status: Closed Type: Documentation Problem Package: Documentation problem Operating System: Linux PHP Version: 5.3.0 Block user comment: N Private report: N New Comment: What is the reason for this BC-Break? I don't understand why PHP_INI_PERDIR-Support was removed. There was nothing about in the changelog. This is a crucial setting for us and suddenly it just stops working...not even a warning! Previous Comments: ------------------------------------------------------------------------ [2009-09-11 06:15:15] torben@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. ------------------------------------------------------------------------ [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/bug.php?id=49189&edit=1

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