Is it possible to install the pcntl module without recompiling php? I'm trying to set this up on CentOS.
I haven't been able to get it working purely through a package manager, and
I ended up finding one way that worked without reinstalling PHP entirely, though it does end up requiring a tiny bit of recompilation. A post found here mentions a somewhat straightforward way of compiling and enabling just the pcntl extension ( with a little editing and reformatting of the post):
The pcntl module is in the
Check if this extension enabled.
If not exist, so you should it enable during build or build it as extension.
Download your existing PHP version repository from http://www.php.net/releases/ (This is no matter where you have to download & extract. You can either download to local machine. Just want to copy ext/pcntl to somewhere in the server)
Extract downloaded folder (Example: /home/downloads/PHP_5.x.x/)
[*This path is depend on your PHP installation/configurations. You can check the PHP extension path in php.ini or echo phpinfo(); ]
or Add the line "extension=pcntl.so" to your php.ini
[*again depend on your PHP installation. You can find the php.ini path in locate php.ini or echo phpinfo(); ]
protected by HopelessN00b Feb 25 at 20:50
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?