CentOS 6.x 64Bit 預設沒有安裝 php-pcntl 的Module...需要手動安裝
Download your php complete source version(should be precise version number) first
link is :
http://www.php.net/releases/check by phpinfo() to know your php version
---------------------------------------------------
extract your tar
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/lib64/php/modules/
echo "extension=pcntl.so" > /etc/php.d/pcntl.ini
service httpd restart
這樣就可以囉~~