В очередной раз натыкаюсь на свой же вопрос )))
Вот решение
pecl download memcache
open memcache-4.0.5.2.tgz
cd memcache-4.0.5.2/memcache-4.0.5.2
phpize
locate zlib.h
./configure --with-zlib-dir=/opt/homebrew/Cellar/zlib/1.2.11
make
sudo make install