1

Is there a way to log execution time of any php scripts running on a webserver? The server is setup similar to a shared hosting setup, except that our customers don't control their hosting or websites. I'm hoping for a way I can use either the apache logs, or perhaps something in php.ini that I can use to track unusually long running scripts without writing some code and inserting it into the footers of 225+ websites.

Ideas?

1 Answers1

1

Check out http://code.google.com/p/mod-log-firstbyte/ This will add the %F option which you can add to your Apache access.log configuration.

faker
  • 17,686