版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/Cookie_1030/article/details/78062418

添加bz2扩展,编译报错:

configure: error: Please reinstall the BZip2 distribution

 

解决方案:

yum install -y bzip2 bzip2-devel

 

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

/srv/php-5.6.31/bin/phpize

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

make

make install

相关文章:

  • 2022-12-23
  • 2021-11-06
  • 2022-12-23
  • 2021-10-13
猜你喜欢
  • 2021-09-28
  • 2021-12-21
  • 2022-03-08
  • 2021-10-17
  • 2021-12-18
  • 2021-12-28
相关资源
相似解决方案