summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg.c
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2015-09-01 09:34:54 +0100
committerJoe Watkins <krakjoe@php.net>2015-09-01 09:34:54 +0100
commit85a511d2c1b7d7489630d7e2d1112bddd4e20203 (patch)
tree32838ff5c5b97c69aff7d05e4c4fab339ea05502 /sapi/phpdbg/phpdbg.c
parent66770f9c37e3821582b02f77867bf09141e59a51 (diff)
downloadphp-git-85a511d2c1b7d7489630d7e2d1112bddd4e20203.tar.gz
fix zend signal and tsrm compatzend-signal-zts
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r--sapi/phpdbg/phpdbg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c
index 9d87fdfa76..a8247844c8 100644
--- a/sapi/phpdbg/phpdbg.c
+++ b/sapi/phpdbg/phpdbg.c
@@ -1332,6 +1332,10 @@ int main(int argc, char **argv) /* {{{ */
tsrm_ls = ts_resource(0);
#endif
+#ifdef ZEND_SIGNALS
+ zend_signal_startup();
+#endif
+
phpdbg_main:
ini_entries = NULL;
ini_entries_len = 0;