Skip to content

Instantly share code, notes, and snippets.

@wahyudibo
Last active March 9, 2020 17:27
Show Gist options
  • Save wahyudibo/de41b29aad89ebf687422a55ab871c9d to your computer and use it in GitHub Desktop.
Save wahyudibo/de41b29aad89ebf687422a55ab871c9d to your computer and use it in GitHub Desktop.
Install memcached on Mac OS

lists all memcached related packages

brew search memcached

install memcached as well as memcached extension for PHP

brew install memcached brew install php70-memcached

start memcached daemon with 24MB on port 11211 (default)

memcached -d -m 24 -p 11211

php -i | grep memcached

should show memcached version, etc.

@caleboau2012
Copy link

You are a life saver

@1c7
Copy link

1c7 commented May 18, 2018

very helpful, thanks!

@devangjhabakh
Copy link

This worked! Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment