在linux上安装php zip

前端之家收集整理的这篇文章主要介绍了在linux上安装php zip前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
>pecl install zip

得到以下错误

checking for the location of zlib... configure: error: zip support requires ZLIB.
Use --with-zlib-dir=<DIR> to specify prefix where ZLIB include and library are located

这是什么意思?

解决方法

PHP zip功能依赖于ZLIB库,您需要先安装它.

猜你在找的Linux相关文章