memcache support requires ZLIB解决办法

configure: error: memcache support requires ZLIB. Use --with-zlib-dir=<DIR> to specify prefix where ZLIB include and library are located
ERROR: `/var/cache/php-pear/memcache-2.2.5/configure --enable-memcache-session=yes' failed

make sure you have zlib-devel installed

yum install zlib-devel
原文地址:https://www.cnblogs.com/helloyb/p/2966231.html