php bz2擴展安裝

 

php bz2擴展安裝

版權聲明:本文爲博主原創文章,未經博主容許不得轉載。 https://blog.csdn.net/Cookie_1030/article/details/78062418

添加bz2擴展,編譯報錯:php

configure: error: Please reinstall the BZip2 distributionhtml

 

解決方案:post

yum install -y bzip2 bzip2-develspa

 

cd /usr/local/src/php-5.6.31/ext/bz2.net

/srv/php-5.6.31/bin/phpizehtm

./configure --with-php-config=/srv/php-5.6.31/bin/php-config --with-bz2blog

makeip

make installget

相關文章
相關標籤/搜索