go to bug id or search bugs for
mod_php and fastcgi
The second request that registers a signal handler in the same process : the signal is catched but the callback is not called.
I looked a litle in pcntl.c and found a possible workarround :
Move that line to RINIT.
And add to RSHUTDOWN :
I know that pcntl is not officialy supported in such envs (but fastcgi...), but if it had no further implications, it would be cool to have async signal handlers in web server contexts.
Add a Patch
Add a Pull Request