mac m1 PHP memcached configure: error: memcached support requires ZLIB. Use --with-zlib-dir=<DIR> to specify the prefix where ZLIB headers and library are located

brew install ZLIB
zlib directory [no] : yes --with-zlib-dir=/opt/homebrew/Cellar/zlib/1.2.11
posted @ 2022-09-26 14:19  夜灵杉  阅读(19)  评论(0)    收藏  举报