I am using php version 5.5.3 and want to install PCNTL, can you help me? It's VPS and I have root and WHM. I tried:
- Get your current php version (check phpinfo())
- Get the sources for that version here: http://www.php.net/releases/
- Extract this file; you will got folder name like php5-x.x.x
Run following lines in terminal:
cd php5-x.x.x/ext/pcntl phpize ./configure make cp modules/pcntl.so /usr/lib/php/modules/ echo "extension=pcntl.so" > /etc/php.d/pcntl.ini restart apache
Note: if your /usr/lib/php/modules/ or /etc/php.d/ is not same as this, you could try 'locate php/modules' or 'locate php.d'