A setting in .user.ini has no effect
A site's .user.ini file has no effect on memory_limit, upload size, or time limits. UrbeStack locks those values for the site, and you can change them in the domain's PHP settings.
Symptoms
After you set memory_limit = 512M in .user.ini, ini_get('memory_limit') still returns 256M. Calls to ini_set() for these settings return false.
Cause
UrbeStack uses php_admin_value in the domain's PHP-FPM pool to set memory_limit, upload_max_filesize, post_max_size, max_execution_time, max_input_vars, and disable_functions. PHP ignores these settings in .user.ini and rejects changes to them through ini_set().
UrbeStack lets the site change display_errors and date.timezone. You can set both in .user.ini.
PHP rereads a directory's .user.ini every 300 seconds, the value of user_ini.cache_ttl. A change to the file can take five minutes to take effect.
Resolution
Set the limit in the domain's PHP settings.
urbestack-domain-set --name example.com --php-setting memory_limit=512MRemove the unused setting from
.user.iniso the file no longer shows a misleading value.Use
.user.inito setdisplay_errorsordate.timezone.Output display_errors = On date.timezone = America/Monterrey