Home >Backend Development >PHP Tutorial >PHP thread-safe compilation solution_PHP tutorial
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