To define environment variables for a PHP site, you need to create a special file .user.ini
, in the root directory of the site, where you should specify the necessary variables and their values.
Variables are specified in the same format as they are defined in the file php.ini,
for example: