brew install php70
git clone -b NON_BLOCKING_IO_php7 https://github.com/websupport-sk/pecl-memcache.git
cd pecl-memcache
phpize
./configure
make && make install
vi /usr/local/etc/php/7.0/php.ini
Add extension=memcache.so
under the extensions section.
Why does installing this seem to break with every single php release on MacOS? I've had to update this nearly every time.