From: Daniel Beulshausen Date: Fri, 5 Jan 2001 17:00:07 +0000 (+0000) Subject: make threaded apache module build again X-Git-Tag: php-4.0.5RC1~725 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d258cc52370c6b9b1d773f1d0ef8ae12e163208;p=php make threaded apache module build again --- diff --git a/sapi/apache/php_apache.c b/sapi/apache/php_apache.c index 1c7095f435..294fe161b3 100644 --- a/sapi/apache/php_apache.c +++ b/sapi/apache/php_apache.c @@ -114,6 +114,7 @@ zend_module_entry apache_module_entry = { Get and set Apache request notes */ PHP_FUNCTION(apache_child_terminate) { +#ifndef MULTITHREAD APLS_FETCH(); SLS_FETCH(); @@ -122,6 +123,9 @@ PHP_FUNCTION(apache_child_terminate) } else { /* tell them to get lost! */ php_error(E_WARNING, "apache.child_terminate is disabled"); } +#else + php_error(E_WARNING, "apache_child_terminate() is not supported in this build"); +#endif } /* }}} */