Currently, slowlogs can be enabled by Administrators only, as changes are required within the FPM pool / config.

slowlogs are a feature of PHP-FPM, and therefore cannot be enabled when using mod_lsapi. To diagnose slow performing PHP applications, you can switch to NGINX w/ PHP-FPM via the CloudNS plugin, or via Bolt-Cache

Modify the FPM Pool for the User

The following directives must be added to the users fpm pool…

request_slowlog_timeout = 20s slowlog = /home/USER/logs/domain_co_uk.php.slow.log

This can be done via WHM -> CloudNS -> PHP-FPM Pool Editor

Alternatively, you can amend the file directly…


Once done, you will need to restart the PHP-FPM pool

Did this answer your question?