kb: how-to
Question
How to enable PHP slow logging on domains with a PHP-FPM handler set?
Answer
Please vote for this feature request to be added to the Plesk functionality.
-
Go to Domains > example.com > PHP Settings and add the following to the Additional PHP settings section (replace example.com with actual domain name):
CONFIG_TEXT: [php-fpm-pool-settings]
slowlog = /var/www/vhosts/example.com/logs/slow.log
request_slowlog_timeout = 1s - Click 'Ok'
Note: the slowlog file can be found in /var/www/vhosts/example.com/logs/ location.
Comments
0 comments
Please sign in to leave a comment.