PHP-FPM Configuration ignored

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


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

Virtualmin version: 
Webmin version: 


Ilia's picture
Submitted by Ilia on Tue, 03/09/2021 - 17:24


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.