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試試