• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue How apply additional settings to php-fpm?

t4ngml

New Pleskian
Server operating system version
Ubuntu 18.04
Plesk version and microupdate number
18.0.56
Hi there,
I need to increase the log_limit parameter, which is set to 1024 by default.
I followed the methode suggested here: https://support.plesk.com/hc/en-us/...M-plugin-of-360-Monitoring-on-a-Plesk-server-
By adding this to the Additional settings field, in smb/web/php-settings/id/1
[php-fpm-pool-settings]
log_limit = 4096;

Then I restarted php-fpm.

Unfortunately, obviously it doesn't work: we're still bound to 1024 characters outputs.
Did I miss something?

Thanks
 
It's listed on the global PHP FPM conf directives PHP: Configuration - Manual so I suppose you can add it to /opt/plesk/php/<php version>/etc/php-fpm.conf just the other parameters like log_level. The only thing I am not sure about is whether a service restart like systemctl restart plesk-php<version>-fpm is required afterwards to apply the changes. Entries in php-fpm.conf are not necessarily shown in phpinfo().
 
Back
Top