Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to install PCTNL on cPanel server  (Read 2527 times)

0 Members and 1 Guest are viewing this topic.

mohitht

  • Guest
How to install PCTNL on cPanel server
« on: February 22, 2014, 11:49:16 am »
Hi,

Pcntl  creates a child process that differs from the parent process only in its PID and PPID. On success, the PID of the child process is returned in the parent's thread of execution, and a 0 is returned in the child's thread of execution. On failure, a -1 will be returned in the parent's context, no child process will be created, and a PHP error is raised.

To enable pcntl to PHP5 compilation

# /var/cpanel/easy/apache/rawopts/all_php5

# enable-pcntlb


One the rebuild is complete just run the following command it will shows the pcntl is installed in the system

#php -m | grep pcntl
pctnl


Thats it :)

Try