Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

clue
Copy link
Member

@clue clue commented May 7, 2019

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}

Builds on top of #179

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}
@clue clue added the bug label May 7, 2019
@clue clue added this to the v1.1.1 milestone May 7, 2019
@WyriHaximus WyriHaximus requested review from WyriHaximus and jsor May 7, 2019 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants