jaxl / JAXL

Asynchronous, non-blocking I/O, event based PHP library for writing custom TCP/IP client and server implementations. From it's previous versions, library inherits a full blown stable support for XMPP protocol stack. In v3.0, support for HTTP protocol stack was also added.
http://jaxl.readthedocs.org/
Other
379 stars 121 forks source link

Check that pcntl_signal exists #88

Open aostanin opened 7 years ago

aostanin commented 7 years ago

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