ID: 27375 Updated by: [EMAIL PROTECTED] Reported By: oliver at update dot ch -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: Linux PHP Version: 4CVS-2004-02-24 (stable) New Comment:
Second try. (If I have to ask these same things for the 3rd time, this bug report will vanish mysteriously..) 1. How did you configure Apache? (configure line used) 2. What MPM are you using with Apache? 3. What is register_globals set to WHEN this happens? (put var_dump(ini_get("register_globals")); in the beginning of your script, see bug #24253 what a nice short test script looks like) 4. Are you sure there aren't any .htaccess files or vhosts setting register_globals to something else? Or setting any other php.ini options? (using php_value, php_admin_value, php_flag or php_admin_flag directives) 5. How was PHP configured into Apache? (as module or CGI binary??) Previous Comments: ------------------------------------------------------------------------ [2004-02-24 12:59:58] oliver at update dot ch 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 ------------------------------------------------------------------------ [2004-02-24 12:03:10] [EMAIL PROTECTED] 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