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
