Skip to content

Commit 1af78bc

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Fixed bug #79030 Use usec from apache request time
2 parents 18f5808 + 5435a4a commit 1af78bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/apache2handler/sapi_apache2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ static void php_apache_sapi_log_message_ex(const char *msg, request_rec *r)
366366
static double php_apache_sapi_get_request_time(void)
367367
{
368368
php_struct *ctx = SG(server_context);
369-
return ((double) apr_time_as_msec(ctx->r->request_time)) / 1000.0;
369+
return ((double) ctx->r->request_time) / 1000000.0;
370370
}
371371

372372
extern zend_module_entry php_apache_module;

0 commit comments

Comments
 (0)