[php-src] Issue #9460: pcntl_signal() not included in Embed SAPI

From: Date: Wed, 31 Aug 2022 23:43:53 +0000
Subject: [php-src] Issue #9460: pcntl_signal() not included in Embed SAPI
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242349@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/9460 Author: cayolblake ### Description Basically any code with pcntl_signal() fails with this error. Resulted in this output: ``` PHP Fatal error: Uncaught Error: Call to undefined function pcntl_signal() ``` Inspecting my libphp.so ``` $ strings /opt/remi/php81/root/usr/lib64/libphp-8.1.so | grep pcntl_si pcntl_signal_get_handler ``` While in main PHP binary ``` $ strings /usr/bin/php81 | grep pcntl_si pcntl_signal pcntl_signal_get_handler pcntl_signal_dispatch pcntl_sigprocmask pcntl_sigwaitinfo pcntl_sigtimedwait ``` Is this intentional? If so, why? ### PHP Version 8.1.9 ### Operating System _No response_

« previous php.bugs (#242349) next »