Board logo

標題: [介紹] 如何安裝 Install php-pcntl on Centos 6 [打印本頁]

作者: bruceman    時間: 2014-4-2 17:29     標題: 如何安裝 Install php-pcntl on Centos 6

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

這樣就可以囉~~




歡迎光臨 ADJ網路實驗室 (http://dz.adj.idv.tw/) Powered by Discuz! 6.0.0