时间:2021-07-01 10:21:17 帮助过:2人阅读
网上这么说:先安装php5,加上--maintainer-zts
然后安装pthreads
cd /usr/local/src/
wget http://pecl.php.com/get/pthreads-2.0.5.tgz
tar zxvf pthreads-2.0.5.tgz
cd pthreads-2.0.5
/usr/local/php5.5.12-zts/bin/phpize
./configure --with-php-config=/usr/local/php5.5.12-zts/bin/php-config
make
make install
我的问题是,我下载了这个pthreads,里面根本就没有configure?这个该怎么编译?
------解决方案--------------------
/usr/local/php5.5.12-zts/bin/phpize phpize路径,改成你已安装php目录下的phpize试试
http://www.bkjia.com/PHPjc/820412.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/820412.htmlTechArticlephp 线程安全编译 网上这么说:先安装php5,加上--maintainer-zts 然后安装pthreads cd /usr/local/src/ wget http://pecl.php.com/get/pthreads-2.0.5.tgz tar zxvf pth...