【发布时间】:2015-07-15 18:31:19
【问题描述】:
当我运行 brew install php56-memcache 时,出现以下错误。
checking whether to enable memcache session handler support... yes
checking for the location of ZLIB... no
checking for the location of zlib... configure: error: memcache support
requires ZLIB. Use --with-zlib-dir=<DIR> to specify prefix where ZLIB
include and library are located
我在brew list 中有zlib。
autoconf jpeg memcached php56 ruby-build
freetype libevent mhash php56-igbinary unixodbc
gettext libmemcached mysql php56-memcached vim
git libpng node pkg-config zlib
icu4c mcrypt openssl rbenv
我尝试了 `bbrew install php56-memcache --with-zlib-dir=/usr/local/Cellar/zlib/1.2.8' 但它给出了同样的错误。
我尝试了手动的方式,./configure,make,make install,但结果是一样的。
如何安装内存缓存?
【问题讨论】: