php / 未分类 · 2012年3月12日

php install pcntl

[root@frg ~]# /usr/local/php/bin/php -v
PHP 5.2.8 (cli) (built: Oct 22 2010 00:43:36)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
wget -c
tar xvf php-5.2.8.tar.bz2
cd php-5.2.8/ext/pcntl/
./configure --with-php-config=/usr/local/php/bin/php-config
make install
/etc/init.d/php-fpm restart
vim /usr/local/php/lib/php.ini
/etc/init.d/php-fpm restar
/usr/local/php/bin/php -m | grep pc

但昨天安装的 好像 不成功呀
[12-Mar-2012 16:09:24] PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) ‘’ in Unknown on line 0 哪位哥帮忙一下