From ed9b2fed857f9716ee53847137bdce1b0b5c7a3d Mon Sep 17 00:00:00 2001 From: Herbert256 Date: Wed, 24 Jun 2020 09:44:35 +0200 Subject: [PATCH] Update sapi_apache2.c --- sapi/apache2handler/sapi_apache2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index 126d09b1c6a50..2266b46e5863f 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -366,7 +366,7 @@ static void php_apache_sapi_log_message_ex(const char *msg, request_rec *r) static double php_apache_sapi_get_request_time(void) { php_struct *ctx = SG(server_context); - return ((double) apr_time_as_msec(ctx->r->request_time)) / 1000.0; + return ((double) ctx->r->request_time) / 1000000.0; } extern zend_module_entry php_apache_module;