Skip to content

Instantly share code, notes, and snippets.

@yasuken1990
Last active June 20, 2018 10:35
Show Gist options
  • Save yasuken1990/d5a2ab2176123db4c9cd107080d3fdc7 to your computer and use it in GitHub Desktop.
Save yasuken1990/d5a2ab2176123db4c9cd107080d3fdc7 to your computer and use it in GitHub Desktop.
PHP, Memcached インストール (Install Memcached PHP HomeBrew) ref: https://qiita.com/yasuken/items/7caae97114ae7d5487d6
$ 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment