php-signal-handler icon indicating copy to clipboard operation
php-signal-handler copied to clipboard

Singnal handling based on C signal for blocking/nonblocking php scripts

Results 3 php-signal-handler issues
Sort by recently updated
recently updated
newest added

``` #9 6.169 /bin/bash /php-signal-handler/libtool --mode=compile cc -I. -I/php-signal-handler -I/php-signal-handler/include -I/php-signal-handler/main -I/php-signal-handler -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -DZEND_COMPILE_DL_EXT=1 -c /php-signal-handler/signal_handler.c -o signal_handler.lo -MMD -MF signal_handler.dep -MT...

I'm not a C developer, I hope this is correct. It works on: PHP 8.1.6 (cli) (built: May 17 2022 16:48:09) (NTS)

i use `attach_signal(15, 'getInfoWhenTerminate')` to handle the timeout php-fpm process with setting at php.ini `max_execution_time = 2` setting at php-fpm.conf `request_terminate_timeout = 1s` y, the first request get correct handle...