安装Memcached PHP HomeBrew
$ brew install pkg-config
$ pecl install memcached
(中略)
Example:
Installing '/usr/local/Cellar/php@7.1/7.1.18/pecl/20160303/memcached.so'
$ php -i | grep php.ini
Example:
Configuration File (php.ini) Path => /usr/local/etc/php/7.1
Loaded Configuration File => /usr/local/etc/php/7.1/php.ini
$ vim vim /usr/local/etc/php/7.1/php.ini
Add write:
extension='/usr/local/Cellar/php@7.1/7.1.18/pecl/2016033/memcached.so'
$ php -m | grep memcached
memcached