Home >Backend Development >PHP Tutorial >PHP thread-safe compilation solution_PHP tutorial

PHP thread-safe compilation solution_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:27:21800browse

php thread-safe compilation

It is said on the Internet: Install php5 first, and add --maintainer-zts

Then install 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

My question is, I downloaded this pthreads, but there is no configure at all? How should I compile this?

 ------Solution--------------------

 /usr/local/php5.5.12-zts/bin/phpize phpize path, try changing it to phpize in the directory where you have installed php

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/820412.htmlTechArticlephp thread-safe compilation says this on the Internet: first install php5, add --maintainer-zts and then install pthreads cd / usr/local/src/ wget http://pecl.php.net/get/pthreads-2.0.5.tgz tar zxvf pth...
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