PHP Skript execution time in access.log
-
wiedervergessen2
- Posts: 22
- Joined: 2008-01-07 22:09
PHP Skript execution time in access.log
Wie kann man die Ausführungszeiten der PHP Scripte in dem Apache access.log mitloggen?
Re: PHP Skript execution time in access.log
AFAIK gar nicht.
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
-
Roger Wilco
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: PHP Skript execution time in access.log
Wenn mod_php genutzt wird, sollte sich die Dauer des Requests in LogFormat mit der Variablen %T loggen lassen (-> http://httpd.apache.org/docs/2.2/mod/mo ... onfig.html). Das ist dann allerdings die Zeit, die der gesamte Request zur Abarbeitung benötigt hat, nicht nur die Ausführungszeit des PHP-Skripts.
