Log PHP-script that take long time to render

rubo77 asked:

I would like to find out, which pages on my server are really slow.

Is it possible to log all pages that took longer than 2 seconds to render in a file?


Or could the information about the time it took to render be added to the apache-log-files?

My answer:

PHP slow logging is only supported with the FPM SAPI.

View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.