Mac enable memcached PHP with homebrew?
- lists all memcached related packages
brew search memcached
# install memcached as well as memcached extension for PHP
brew install memcached brew install php54-memcached
# start memcached daemon with 24MB on port 11211 (default)
memcached -d -m 24 -p 11211
Add to your php.ini file to add:
Restart php or php5-fpm and your server.
php -i | grep memcached
- should show memcached version, etc.