kendallfrey:

this unfortunately a know issue affecting Apache as the environment variable is not set correctly.

You should force at the beginning of your scripts:

$_SERVER["DOCUMENT_ROOT"] =...