From 85a511d2c1b7d7489630d7e2d1112bddd4e20203 Mon Sep 17 00:00:00 2001 From: Joe Watkins Date: Tue, 1 Sep 2015 09:34:54 +0100 Subject: fix zend signal and tsrm compat --- sapi/embed/php_embed.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sapi/embed/php_embed.c') diff --git a/sapi/embed/php_embed.c b/sapi/embed/php_embed.c index 4e50133dd4..70cc2f1ba3 100644 --- a/sapi/embed/php_embed.c +++ b/sapi/embed/php_embed.c @@ -177,6 +177,10 @@ EMBED_SAPI_API int php_embed_init(int argc, char **argv) ZEND_TSRMLS_CACHE_UPDATE(); #endif +#ifdef ZEND_SIGNALS + zend_signal_startup(); +#endif + sapi_startup(&php_embed_module); #ifdef PHP_WIN32 -- cgit v1.2.1