Submitted by acosonic on Tue, 03/09/2021 - 01:35
PHP-FPM Configuration like "memory_limit", is written into some kind of temporary file and ignored
For example: /etc/php/7.2/fpm/pool.d/159562250124937.conf
php_admin_value[memory_limit] = 512M
While actual .ini config is in user's home dir
/home/mysite/etc/php7.2/php.ini
Changing values from virtualmin, results writing to above /fp/pool.d/ without effect.
Correct behavior should be to change values in user's /etc/php.ini file
Status:
Active
Virtualmin version:
6.14
Webmin version:
1.962
Comments
Hi,
Thanks for contacting us.
It looks that execution mode is not getting detected correctly or was changed manually outside of Virtualmin.
The work-around would be is to change execution mode on Website Options page to have configs updated accordingly.
FPM pool is used for PHP FPM mode and ~/etc/php.ini file is used in CGI/FCGId mode.