From: Scott MacVicar Date: Sun, 1 Jun 2008 16:08:52 +0000 (+0000) Subject: Fixed bug #45144 (ap_child_terminate() isn't available on threaded builds) X-Git-Tag: BEFORE_NEW_PARAMETER_PARSE~111 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=938186a67f3b599cdfcb6473dd814c4f172bc4bb;p=php Fixed bug #45144 (ap_child_terminate() isn't available on threaded builds) --- diff --git a/sapi/apache/mod_php5.c b/sapi/apache/mod_php5.c index 381fa919d2..5e0ac1f206 100644 --- a/sapi/apache/mod_php5.c +++ b/sapi/apache/mod_php5.c @@ -438,7 +438,9 @@ static time_t php_apache_get_request_time(TSRMLS_D) */ static void sapi_apache_child_terminate(TSRMLS_D) { +#ifndef MULTITHREAD ap_child_terminate((request_rec *)SG(server_context)); +#endif } /* }}} */