LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   DOCUMENT_ROOT problem (https://www.linuxquestions.org/questions/linux-general-1/document_root-problem-305045/)

pylon42 03-23-2005 07:50 AM

DOCUMENT_ROOT problem
 
Okay, i've been getting a lot of help with this problem from a lot of different people - and it comes down to one thing now, so I thought I'd just start over with a simplified version.

$_DOCUMENT_ROOT is set to /home/username/web/

$_DOCUMENT_ROOT returns null.

I have two (nearly) identical servers going. It returns properly on one, and not the other.

Can someone offer a suggestion? Also - is it acceptable to have a "/" at the end of the path as shown above? Cause that's the only difference I can see when I run phpinfo.

thank you.

stickman 03-23-2005 07:59 AM

See your other thread. Did you do the following or anything similar:
$DOCUMENT_ROOT = $_SERVER['DOCUMENT_ROOT'];


All times are GMT -5. The time now is 08:21 PM.