Trying to install the PHP PCNTL onto the PHP 8.2.4-cli Docker image to utilise SIGTERM.
But it doesn't appear to enable support for it.
Dockerfile
FROM php:8.2.4-cli
RUN docker-php-ext-configure pcntl --enable-pcntl
Testing
docker build -f Dockerfile .
docker run --rm -it --entrypoint bash image_id
php -i | grep pcntl
According to online documents should expect to see pcntl support => enabled but doesn't appear to be enabled.
Any indicators on where I'm going wrong here?
RUN docker-php-ext-configure pcntl --enable-pcntl \
&& docker-php-ext-install pcntl;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With