Home > Backend Development > PHP Tutorial > php 线程安全编译

php 线程安全编译

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 13:55:14
Original
1347 people have browsed it

网上这么说:先安装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试试

问题解决了,谢谢

Related labels:
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template