ADJ網路實驗室
打印

[介紹] 如何安裝 Install php-pcntl on Centos 6

如何安裝 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

這樣就可以囉~~





TOP

ARTERY.cn