Skip to Content
+1 (888) 578-8743[email protected]
Ringing Liberty

Ringing Liberty

Freedom through Communications

Home Operations Operations Log PHP-script that take long time to render

Log PHP-script that take long time to render

on May 8, 2013May 8, 2013by

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?

/var/log/php/php-slow.log

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 any other answers on Server Fault.

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

debuggingloggingphp

Post Navigation

Add causing php-script to mysql-slow.log
Why is local root able to su to any LDAP user?

Related Post

How can I use openssl to get results from HTTP GET requests?

What are the actual benefits of assigning sudo privileges to a user instead of using root?

What is the equivalent of using hiera as an ENC in Ansible?

How configure environment variable with AcceptEnv

Logging domain of http requests in apache

Permission denied to tor hidden service directory on CentOS after service restart

Latest Posts

  • Setting Up Fail2Ban
  • Invalid HTTP_HOST header. The domain name provided is not valid according to RFC 1034/1035
  • Raw LVM disk write is four times faster on host than inside KVM guest?
  • How to enable more than 4 GB in SQL Server X86 under Windows X64
  • fail2ban not working with SSHD

Recent Comments

  • kg on Matching autonomous system numbers in iptables
  • Alex on Matching autonomous system numbers in iptables
  • How do I get puppet master to listen on IPv6? - Ringing Liberty on Making Puppet Enterprise 3.7 work with IPv6
  • Dan on Matching autonomous system numbers in iptables
  • JohnnyB on Making Puppet Enterprise 3.7 work with IPv6

Tags

amazon-ec2 amazon-web-services ansible apache-2.2 apache-2.4 bash centos centos6 centos7 configuration debian docker domain-name-system email email-server fedora firewall http iptables ipv6 kvm-virtualization linux linux-networking mysql networking nginx php php-fpm postfix redhat redirect reverse-proxy rhel7 rpm security selinux smtp ssh ssl systemd ubuntu virtualization windows wordpress yum

About Ringing Liberty

Ringing Liberty is the personal web site of Michael Hampton, a professional system administrator.

Email: [email protected]
Phone: +1 888 578-8743

© Copyright 2021 Ringing Liberty. All Rights Reserved. Blossom Consulting | Developed By Blossom Themes. Powered by WordPress.Privacy Policy