diff options
-rw-r--r-- | sapi/apache/php_apache.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c index cfc63ae639..15aa2a7703 100644 --- a/sapi/apache/php_apache.c +++ b/sapi/apache/php_apache.c @@ -123,10 +123,7 @@ zend_module_entry apache_module_entry = { Get and set Apache request notes */ PHP_FUNCTION(apache_child_terminate) { -#ifndef MULTITHREAD - ATSRMLS_FETCH(); - TSRMLS_FETCH(); - +#ifndef MULTITREAD if (AP(terminate_child)) { ap_child_terminate( ((request_rec *)SG(server_context)) ); } else { /* tell them to get lost! */ |