添加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