diff options
author | Xinchen Hui <laruence@php.net> | 2015-03-05 18:11:22 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2015-03-05 18:11:22 +0800 |
commit | fd5a756ad44124ffa7e9a5810a31ff49e91708cf (patch) | |
tree | e0c230d9e9e94ebf6731470e778fabcc2029f534 /sapi/apache2handler/sapi_apache2.c | |
parent | c498cc74072304bcd3dc088cdb12a7d19abad159 (diff) | |
download | php-git-fd5a756ad44124ffa7e9a5810a31ff49e91708cf.tar.gz |
Revive Zend Signals handler (and fixed bug #61083)
Diffstat (limited to 'sapi/apache2handler/sapi_apache2.c')
-rw-r--r-- | sapi/apache2handler/sapi_apache2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sapi/apache2handler/sapi_apache2.c b/sapi/apache2handler/sapi_apache2.c index ed4c9f30df..bca9d872a5 100644 --- a/sapi/apache2handler/sapi_apache2.c +++ b/sapi/apache2handler/sapi_apache2.c @@ -717,6 +717,9 @@ void php_ap2_register_hook(apr_pool_t *p) ap_hook_pre_config(php_pre_config, NULL, NULL, APR_HOOK_MIDDLE); ap_hook_post_config(php_apache_server_startup, NULL, NULL, APR_HOOK_MIDDLE); ap_hook_handler(php_handler, NULL, NULL, APR_HOOK_MIDDLE); +#ifdef ZEND_SIGNALS + ap_hook_child_init(zend_signal_init, NULL, NULL, APR_HOOK_MIDDLE); +#endif ap_hook_child_init(php_apache_child_init, NULL, NULL, APR_HOOK_MIDDLE); } |