mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Improved support for zend-signals.
This commit is contained in:
parent
4943f0bcff
commit
7cc1b00163
2 changed files with 3 additions and 0 deletions
|
@ -2548,6 +2548,7 @@ int do_cli_server(int argc, char **argv) /* {{{ */
|
|||
|
||||
#if defined(HAVE_SIGNAL_H) && defined(SIGINT)
|
||||
signal(SIGINT, php_cli_server_sigint_handler);
|
||||
zend_signal_init();
|
||||
#endif
|
||||
php_cli_server_do_event_loop(&server);
|
||||
php_cli_server_dtor(&server);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue