On 02/15/2012 11:24 PM, J David wrote: > On Tue, Feb 14, 2012 at 8:35 AM, Ferenc Kovacs <tyr...@gmail.com> wrote: >> as far as I can see the referenced fix ( >> http://svn.php.net/viewvc?view=revision&revision=323016) never made to the >> 5.3.10 release ( >> http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3_10/?pathrev=323032&view=log >> ) > > Preface: I am not expert in these matters by any means. > > I happened to do some work with a build of the PHP_5_3 branch that did > include SVN revision 323016. With that revision, I observed some > weird behavior with magic_quotes_gpc coming *on* even if it was > configured off. > > The specific circumstance was that magic_quotes_gpc was being set to > off in Apache via php_flag, rather than in the .ini file. phpinfo() > reported magic_quotes_gpc as Off/On, but magic quotes behavior started > happening anyway. Of course I just moved the configuration to the > .ini file where it belongs, but this was a change from previous > behavior prior to that rebuild. Maybe it was a coincidence, but when > I saw this discussion, I felt mentioning it was "better safe than > sorry."
There is lots of weirdness around Apache startup and double module loads and such that makes the initialization code overly complicated, so it doesn't surprise me that this change could have some issues. Was this with Apache1 or 2 you saw this? -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php