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:
Note! PHP variables and flags defined in
.htaccess
files will not work. All of them should be transferred to the.user.ini
file