Environment Variables in PHP W3schools
Since environment variables are global variables two commonly used functions are used for setting and getting the environment variables These are getenv is a PHP function used for returning the specific environment variable s value putenv is a PHP function that is used for setting the value of a particular environment variable