DOCUMENT_ROOT disappeared on me!

From: Date: Tue, 02 Jul 2002 05:01:27 +0000
Subject: DOCUMENT_ROOT disappeared on me!
Groups: php.general 
Request: Send a blank email to php-general+get-104913@lists.php.net to get a copy of this message
All, I upgraded from PHP 4.1.2 to 4.2.1 today along with revving Apache to 1.3.26 from 1.3.22, and, woe is me, my $DOCUMENT_ROOT now evaluates to "" on all of my PHP pages! phpinfo() shows "DOCUMENT_ROOT" being set correctly under the Apache variables category. I tried several variations, including setting "global $DOCUMENT_ROOT:" and "$ENV{DOCUMENT_ROOT}" and "$GLOBALS["DOCUMENT_ROOT"]" and so forth, but all to no avail. Good 'ol $DOCUMENT_ROOT seems quite gone, and I wasn't able to find mentions of this happening to others on the 'Net. Any pointers? -david

« previous php.general (#104913) next »