apache_setenv()
apache_setenv - Set an Apache subprocess_env variable
Syntax
bool apache_setenv (
string $variable,
string $value,
bool $walk_to_top)
Arguments
- variable - The environment variable that\'s being set.
- value - The new variable value.
- walk_to_top - Whether to set the top-level variable available to all Apache layers.
Description
apache_setenv() sets the value of the Apache environment variable specified by variable.
Version
PHP 4.2.0, 5
Return value
Returns TRUE on success or FALSE on failure.