Just add custom answers. It uses OS / X and homebrew.
First you need to determine which version of PHP you are using locally.
$ php -v PHP 7.0.19 (cli) (built: May 21 2017 11:56:11) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies $ brew search memcached homebrew/php/php53-memcached homebrew/php/php70-memcached homebrew/php/php54-memcached homebrew/php/php71-memcached homebrew/php/php55-memcached libmemcached ✔ homebrew/php/php56-memcached memcached ✔
Since I am running PHP 7.0, I decided to install homebrew / php / php70-memcached
$ brew install homebrew/php/php70-memcached
If you do not have homegrown, go to https://brew.sh/ and install it to use these instructions. This was the team the last time I used it.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
As soon as I finished all this, I tested by clearing the cache.
$ php artisan cache:clear Cache cleared successfully. $
Hi, this fixed it for me for local development.
source share