浏览文章
文章信息
PHP手动安装ext-zip扩展| the requested PHP extension zip is missing from your system.
15591
#安装php ext-zip扩展
#下载
&& wget http://qinqinxia.com/zip-1.13.5.tgz \
#解压
&& tar -zvxf zip-1.13.5.tgz \
#解压后复制到目录/usr/local/src
&& cp -r zip-1.13.5 /usr/local/src \
#切换目录到/usr/local/src/zip-1.13.5
&& cd /usr/local/src/zip-1.13.5 \
#安装php扩展php-zip
# 执行phpize
&& phpize \
# 执行安装配置
&& ./configure --with-php-config=/usr/local/bin/php-config \
# 安装
&& make && make install
如果还不行:
CentOS:
yum install php-pecl-zip
yum search zip
yum install libzip.x86_64