diff options
Diffstat (limited to 'sapi/apache/php_apache.c')
-rw-r--r-- | sapi/apache/php_apache.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 } /* }}} */ |