Operating System & Version
CloudLinux 7.7
cPanel & WHM Version
cpanel_and_whm: 11.86.0.18

manoaratefy

Active Member
Nov 17, 2018
34
3
8
Madagascar
cPanel Access Level
Root Administrator
Good morning,

In order to debug slow websites, I need PHP slow log.

With PHP-FPM, I used to enable PHP-FPM slow log (like this).

I'm looking for similar feature on LSAPI, but I didn't found any yet.

Is there any documentation about it for cPanel?

Thanks in advance.
 
Last edited by a moderator:

manoaratefy

Active Member
Nov 17, 2018
34
3
8
Madagascar
cPanel Access Level
Root Administrator
This seems not working with classic Apache2 with mod_lsapi from CloudLinux.

When I add:
Apache config:
lsapi_set_env LSAPI_SLOW_REQ_MSECS 1000
into /etc/apache2/conf.d/lsapi.conf and restart httpd, there is no logs which contains slow log reporting. I already checked /var/log/apache2/error_log and /home/myuser/public_html/error_log, nothing happens in these logs.
 
Last edited: