Most servers don't have the super global $_ENV set which may be why. I don't know why your using it to begin with since it has default array keys. $_ENV gets environment data and is not a general all you can store global try using $_GLOBAL instead or your own array or variable.