Bug #11759 Updated: DOCUMENT_ROOT not available when using PHP with IIS5 (cgi Version)

From: Date: Thu, 28 Jun 2001 16:16:09 +0000
Subject: Bug #11759 Updated: DOCUMENT_ROOT not available when using PHP with IIS5 (cgi Version)
Groups: php.dev 
Request: Send a blank email to php-dev+get-58355@lists.php.net to get a copy of this message
ID: 11759 Updated by: brianlmoon Reported By: blankart@muenchen-lottoteam.de Old-Status: Open Status: Bogus Bug Type: IIS related Operating system: PHP Version: 4.0.6 Assigned To: Comments: DOCUMENT_ROOT is an environment/server variable set by Apache. You will need to determine the equivalent if there is one for IIS. Brian. Previous Comments: --------------------------------------------------------------------------- [2001-06-27 19:41:03] blankart@muenchen-lottoteam.de <? echo $DOCUMENT_ROOT; ?> </P> Causes the following: Warning: Undefined variable: DOCUMENT_ROOT in w:inetpubwwwroottest1.php4 on line 13 --------------------------------------------------------------------------- [2001-06-27 19:37:15] blankart@muenchen-lottoteam.de DOCUMENT_ROOT not available when using PHP with IIS5 (cgi Version). Works fine on Linux / Apache --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=11759&edit=2

« previous php.dev (#58355) next »