#27375 [Fbk->Opn]: $DOCUMENT_ROOT sometimes empty when register_globals=on
| From: | oliver at update dot ch | Date: | Tue, 24 Feb 2004 17:59:59 +0000 |
| Subject: | #27375 [Fbk->Opn]: $DOCUMENT_ROOT sometimes empty when register_globals=on | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-55466@lists.php.net to get a copy of this message | ||
ID: 27375
User updated by: oliver at update dot ch
Reported By: oliver at update dot ch
-Status: Feedback
+Status: Open
Bug Type: Apache2 related
Operating System: Linux
PHP Version: 4CVS-2004-02-24 (stable)
New Comment:
register_globals is always set on. register_globals is
set to on in the php.ini file.
SERVER_SOFTWARE:
Apache/2.0.47 (Unix) mod_perl/1.99_09 Perl/v5.6.1
mod_ssl/2.0.47 OpenSSL/0.9.6c DAV/2 FrontPain/5.0.0.0
Previous Comments:
------------------------------------------------------------------------
[2004-02-24 12:03:10] sniper@php.net
When this happens, is register_globals on or off?
Do you override it in some vhost ?
How do you do it?
In other words: Not enough information..
------------------------------------------------------------------------
[2004-02-24 07:30:00] oliver at update dot ch
Description:
------------
The Global Variable $GLOBALS["DOCUMENT_ROOT"] or $DOCUMENT_ROOT is
sometimes empty.
After a reload $DOCUMENT_ROOT mostly contains the expected value.
see also http://bugs.php.net/bug.php?id=25172
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27375&edit=1