PHP thread-safe compilation solution_PHP tutorial

WBOY
Release: 2016-07-13 10:27:21
Original
739 people have browsed it

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...
source:php.cn
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!