Keywords: LAMP/MAMP/WAMP - AWS - Technical issue - Other
bnsupport ID: 09f602ab-1faf-1ad1-31ba-7fdf202ec8f2
I have big issues with
php-fpm. I use Prestashop and some requests take up to 10 sec, and php-fpm can take up to 99% of my vCPU (LightSail - 2 GB RAM, 1 vCPU, 60 GB SSD)
It’s not the db; I have a dedicated instance for it and the logs show me all is ok.
So I tried to debug php via php-fpm
slowlog but the logs never appear. I updated
slowlog = /var/log/php-fpm/slowlog-site.log request_slowlog_timeout = 1s
But logfile is never created.
Next I tried to disable php-fpm following your guide, but then Apache sent me PHP files as plain text.
Could you please tell me how can I get the slowlog file please ? Or how to disable php-fpm properly ?