宝塔面板 PHP8.0 安装 ZIP 扩展

wget https://nih.at/libzip/libzip-1.2.0.tar.gz
tar -zxvf libzip-1.2.0.tar.gz
cd libzip-1.2.0
./configure
make && make install
cd /www/server/php/80/src/ext/zip/
/www/server/php/80/bin/phpize
./configure --with-php-config=/www/server/php/80/bin/php-config
make && make install
© 版权声明
THE END
喜欢就支持一下吧
点赞653 分享