[code language="plain"]checking for the location of zlib... configure: error: memcache supportrequires ZLIB. Use --with-zlib-dir=
brew install zlib
brew link --force zlib[/code]
默认用brew 安装zlib提示有可能会跟系统的zlib库冲突,没有吧zlib库link到系统目录
重新安装xcode,然并卵
[code language="plain"]xcode-select --installbrew install php{xx}-memcache[/code]