Bug #17447: Unexpected undefined (builtin) variables such as 'DOCUMENT_ROOT' AND 'PHP_SELF'
| From: | rob at streamerworld dot co dot uk | Date: | Mon, 27 May 2002 06:51:53 +0000 |
| Subject: | Bug #17447: Unexpected undefined (builtin) variables such as 'DOCUMENT_ROOT' AND 'PHP_SELF' | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-8645@lists.php.net to get a copy of this message | ||
From: rob@streamerworld.co.uk
Operating system: WinMe+Apache203 / XP+IIS5
PHP version: 4.2.1
PHP Bug Type: *Web Server problem
Bug description: Unexpected undefined (builtin) variables such as 'DOCUMENT_ROOT' AND
'PHP_SELF'
I installed PHP V4.2.1 on Win ME with Apache2.0.3 and discovered that
several PHP builtin variables were reported as undefined. Likewise I
installed V4.2.0 and observed the same problem.
I then upgraded OS to XP with IIS5.1 and reinstalled the latter versions
of PHP and obserevd the same problem.
I then installed PHP V4.0.6 and noticed that PHP recognised most of the
builtin variables.
However 'DOCUMENT_ROOT' still wasn't recognised and session_start fn
failed. The PHP scripts have been proven online.
--
Edit bug report at http://bugs.php.net/?id=17447&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17447&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17447&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17447&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17447&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17447&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17447&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17447&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17447&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17447&r=globals