clue · GitHub

This helps avoiding problems when the PCNTL extension is loaded, but
(some of) its functions are disabled via PHPs `disable_function`
configuration. This is particularly common for the PCNTL functions in
CGI environments, e.g. they are disabled by default on Debian- /
Ubuntu-based distributions. Previously, even when not attaching any
signal listeners, the loop would print a warning on each loop tick:
> PHP Warning:  pcntl_signal_dispatch() has been disabled for security
reasons in {file} on {line}

@WyriHaximus

jsor

jsor approved these changes May 7, 2019

WyriHaximus

@WyriHaximus

@clue

clue deleted the pcntl-might-be-disabled branch

May 9, 2019 07:27

@clue clue mentioned this pull request

Feb 19, 2020

Open

Open

Read the original on github.com ↗