mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.4'
* PHP-7.4: Fixed bug #79030 Use usec from apache request time
This commit is contained in:
commit
1af78bc8a4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue