php 線程安全編譯
網(wǎng)上這么說:先安裝php5,加上--maintainer-zts
然后安裝pthreads
cd /usr/local/src/
wget
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試試
更多信息請查看IT技術(shù)專欄