apache_getenv Get an Apache subprocess_env variable Description stringapache_getenv stringvariable boolwalk_to_top apache_getenv returns the value of the Apache environment variable specified by variable, or &false; on failure. apache_getenv is only defined when using Apache 2. <function>apache_getenv</function> example ]]> The example above shows how to retrieve the value of the Apache environment variable "SERVER_ADDR". See also apache_setenv, getenv&listendand; Superglobals.