Change memory_limit in PHP-FPM

Ubuntu 20.04:

Hello,

We’re running PHP-FPM
Wanted to change memory_limit
Tried first /home/domain.com/etc/php.ini
No effect.
Then in /etc/php/7.4/fpm/php.ini
Now it shows correct for all domains.
Is it possible to make that change individually?

In /home/domain.com/etc is just php7.4 and no fpm

Virtualmin -> Services -> PHP-FPM Configuration will let you control the FPM parameters for a particular virtual server. Click on the Resource Limits icon, amongst others.

1 Like

Ok. Thanks. Just what I needed.