安装 libzip
地址: libzip.org/download/
wget https://libzip.org/download/libzip-1.10.0.tar.gz
tar -zvxf libzip-1.10.0.tar.gz
cd libzip-1.10.0
mkdir build
cd build
cmake ..
make
make install
安装 zip
地址:pecl.php.net/package/zip
wget https://pecl.php.net/get/zip-1.22.1.tgz
tar -zvxf zip-1.22.1.tgz
cd zip-1.22.1
phpize
./configure
make
make install