mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Merge branch 'PHP-7.2' into PHP-7.3
This commit is contained in:
commit
d7e96c1b95
1 changed files with 8 additions and 1 deletions
|
@ -734,13 +734,20 @@ static void php_apache_child_init(apr_pool_t *pchild, server_rec *s)
|
|||
apr_pool_cleanup_register(pchild, NULL, php_apache_child_shutdown, apr_pool_cleanup_null);
|
||||
}
|
||||
|
||||
#ifdef ZEND_SIGNALS
|
||||
static void php_apache_signal_init(apr_pool_t *pchild, server_rec *s)
|
||||
{
|
||||
zend_signal_init();
|
||||
}
|
||||
#endif
|
||||
|
||||
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);
|
||||
ap_hook_child_init(php_apache_signal_init, NULL, NULL, APR_HOOK_MIDDLE);
|
||||
#endif
|
||||
ap_hook_child_init(php_apache_child_init, NULL, NULL, APR_HOOK_MIDDLE);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue