LoginSignup
0
0

More than 5 years have passed since last update.

PHP, Memcached インストール (Install Memcached PHP HomeBrew)

Last updated at Posted at 2018-06-20
$ 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
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0