Home  >  Article  >  Backend Development  >  php 线程安全编译解决方法

php 线程安全编译解决方法

WBOY
WBOYOriginal
2016-06-13 11:59:491051browse

php 线程安全编译
网上这么说:先安装php5,加上--maintainer-zts 
然后安装pthreads
cd /usr/local/src/
wget http://pecl.php.net/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试试

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn