mac php7.0~7.2 memcache安装
参考
https://www.uedbox.com/post/8924/
https://blog.csdn.net/bjbs_270/article/details/45642905
1. zlib问题
xcode-select --install
xcode-select -p 看是否是 /Library/Developer/CommandLineTools 不是执行 sudo xcode-select -s /Library/Developer/CommandLineTools
brew install zlib
ln -s /usr/local/Cellar/zlib/1.2.11/include/* /usr/local/include
2.缺少php_smart_str.h php_smart_str_public.h 更改文件名不能正常编译
git clone https://github.com/php-memcached-dev/php-memcached.git
cd php-memcached/
phpize
./configure --disable-memcached-sasl //去掉sasl验证
make && make install