ENV Vars

Store server-specific values in PHP_SETTINGS and read them with get_cfg_var().


Server PHP_SETTINGS

Add the variable as a new line in PHP_SETTINGS:

VAR = "your-value"

PHP

Read the value from the server configuration:

$value = get_cfg_var('VAR');