• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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