php 線(xiàn)程安全編譯
網(wǎng)上這么說(shuō):先安裝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
我的問(wèn)題是,我下載了這個(gè)pthreads,里面根本就沒(méi)有configure?這個(gè)該怎么編譯?
------解決方案--------------------
/usr/local/php5.5.12-zts/bin/phpize phpize路徑,改成你已安裝php目錄下的phpize試試
更多信息請(qǐng)查看IT技術(shù)專(zhuān)欄