Help on how to detect PHP down problem
I have a VPS with some wordpress sites and some self coded sites (someone else coded it). I am experiencing timeout in NGINX, and I trade that the PHP FPM is taking too slow to respond.
What can I install or enable, so that it will log which part of code is causing issue?
I am also thinking to log slow mysql queries to pinpoint.