Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Check that pcntl_signal exists#88

Open
aostanin wants to merge 1 commit intojaxl:masterfrom
aostanin:fix_pcntl_disabled
Open

Check that pcntl_signal exists#88
aostanin wants to merge 1 commit intojaxl:masterfrom
aostanin:fix_pcntl_disabled

Conversation

@aostanin
Copy link
Copy Markdown

There are environments where pcntl_signal is disabled in php.ini but the pcntl extension itself is loaded. In these cases it is not enough to check that the pcntl extension is loaded. We must also check that pcntl_signal exists.

For example, pcntl_signal is disabled by default on Debian and Ubuntu: https://www.apt-browse.org/browse/debian/jessie/main/amd64/php5-common/5.6.20+dfsg-0+deb8u1/file/usr/share/php5/php.ini-production

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant