开发者

php zip installation on linux

>pecl install zip

got the foll开发者_开发百科owing error:

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

what does this mean?


The PHP zip functionality relies on the ZLIB libary, you need to install it first.


Sounds like your PHP installation wasn't compiled with zlib support. You may have to reconfigure PHP. From the manual:

Zlib support in PHP is not enabled by default. You will need to configure PHP --with-zlib[=DIR]

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜