From: syu at pss dot com Operating system: Linux PHP version: 5.3.0 PHP Bug Type: mbstring related Bug description: mbstring.func_overload can not be changed out of php.ini
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 bug report at http://bugs.php.net/?id=49189&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49189&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49189&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49189&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49189&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49189&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49189&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49189&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49189&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49189&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49189&r=support Expected behavior: http://bugs.php.net/fix.php?id=49189&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49189&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49189&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49189&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49189&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49189&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49189&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49189&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49189&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49189&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49189&r=mysqlcfg