From: jeremy at hooks dot me dot uk Operating system: openSUSE 10.2 PHP version: 5.2.6 PHP Bug Type: PHP options/info functions Bug description: Virtual host specific magic_quotes_gpc setttings changing randomly
Description: ------------ First of all, forgive me if I already posted this bug today, my browser crashed earlier and I am not sure if I posted before the crash. The problem I am having appears very similar to http://bugs.php.net/bug.php?id=43677 - which apparently is fixed I have several virtual hosts, some of which have "php_admin_flag magic_quotes_gpc off" in their Apache config. Others have "php_admin_flag magic_quotes_gpc On" in their config. If I restart Apache and immediately browse one of the servers with magic quotes set to on, it will be on, however if i go back later (possibly after someone has browsed one of the other virtual hosts), it will be turned off. The main difference between this and 43677 is that it relates to php_[admin_]flag rather than php_[admin_]value. Also 43677 reportedly (according to one post) only occurs if you mix php_admin_value and php_value for the same ini-setting - I am only using php_admin_value for the magic_quotes_gpc setting. -- Edit bug report at http://bugs.php.net/?id=46244&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46244&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46244&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46244&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46244&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=46244&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46244&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46244&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46244&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46244&r=support Expected behavior: http://bugs.php.net/fix.php?id=46244&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46244&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46244&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46244&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46244&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46244&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46244&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46244&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46244&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46244&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46244&r=mysqlcfg