diff options
author | Scott MacVicar <scottmac@php.net> | 2008-06-01 16:08:52 +0000 |
---|---|---|
committer | Scott MacVicar <scottmac@php.net> | 2008-06-01 16:08:52 +0000 |
commit | 938186a67f3b599cdfcb6473dd814c4f172bc4bb (patch) | |
tree | dd2b02c681c8d93814765229497ae6084d3b9021 /sapi/apache/mod_php5.c | |
parent | 42fd9b4005e7e816edd82d0da42d417241a8b660 (diff) | |
download | php-git-938186a67f3b599cdfcb6473dd814c4f172bc4bb.tar.gz |
Fixed bug #45144 (ap_child_terminate() isn't available on threaded builds)
Diffstat (limited to 'sapi/apache/mod_php5.c')
-rw-r--r-- | sapi/apache/mod_php5.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 } /* }}} */ |