Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

thuren's avatar

PCNTL on Laravel Forge PHP8.2

Hi, i'm trying to setup support for pcntl on laravel forge running a digital ocean droplet

My code runs async in my local sail environment, but in production on forge it runs sync and tells me pcntl is not supported.

$ php -i | grep pcntl Outputs: pcntl support => enabled

I've tried adding several editions of enabling the extension from php.ini extension=pcntl extension=pcntl.so pcntl.enabled = On

My last trace is to "to compile the CGI or CLI version of PHP with --enable-pcntl configuration option when compiling PHP to enable Process Control support". However i'm not sure how the correct process is for this in Forge, without Docker. [can't include links yet]php.net/manual/en/pcntl.installation.php

Anyone had the same issue?

0 likes
0 replies

Please or to participate in this conversation.