MAMP 3.x
Steps
- Install Brew
brew install memcached
brew install libmemcached
- Grab a
memcached.so
file from here. Like this one for PHP 7.0.0. - Move the
memcached.so
file to:/Applications/MAMP/bin/php/php7.x.x/lib/php/extensions/no-debug-non-zts-200xxxxx
- Add the following to the end of the php.ini:
extension=memcached.so