Bug #17669: magic_quotes_runtime enables at random
| From: | phpbugs_p at ter dot dk | Date: | Sun, 09 Jun 2002 23:24:10 +0000 |
| Subject: | Bug #17669: magic_quotes_runtime enables at random | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-9958@lists.php.net to get a copy of this message | ||
From: phpbugs_p@ter.dk
Operating system: Linux + FreeBSD
PHP version: 4.1.2
PHP Bug Type: PHP options/info functions
Bug description: magic_quotes_runtime enables at random
This bug may be related to #10197 and #10290.
I have a PHP-solution hosted at my ISP. At random - about once per 50
requests - magic_quotes_runtime is enabled and affects e.g. strings
returned from socket functions.
I have created a simple webpage at:
http://trc.dk/magic.php
http://trc.dk/magic.phps (source)
Reload it a bunch of times and notice that magic_quotes_runtime truely has
been enabled. This webpage don't show it, but it in fact does affect
strings; it's not just an erroneous output of the
magic_quotes_runtime-setting.
A helpful shellcommand would be:
watch -n 1 "curl http://trc.dk/magic.php
2>/dev/null"
... and break the script when Magic quotes (runtime) indeed shows "1".
Please notice that my ISP is using a cluster-based solution; the internal
webserver-names is reflected on above webpage.
It actually gives us more test-material, since the problem isn't just one
wrong configured webserver out of a dozen, but the setting appears and
disappears on several of the webservers (maybe all). Some of these
webservers run Linux; others run FreeBSD. Both seem to be affected.
I have been in contact with the technical department at my ISP, and they
are just as puzzled as I am. There shouldn't be any change in the
configuration for the different webservers.
In all cases PHP is enabled as mod_php for Apache. A phpinfo() is
available at:
http://trc.dk/info.php
(although a couple of reloads might be required to get information from
the right webserver)
- Peter Brodersen
--
Edit bug report at http://bugs.php.net/?id=17669&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17669&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17669&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17669&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17669&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17669&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17669&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17669&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17669&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17669&r=globals