www.php.net-->预定义变量-->看第一条评论,如是说:
========================================================
I found something you should know in the settings file (php.ini) :;     The environment variables are not hashed into the $_ENV.  To access
;     environment variables, you can use getenv() instead.so... don't be surprised if you print_r($_ENV) and you get NOTHING!!