This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install libmemcached with brew: | |
> brew install libmemcached | |
2. Install memcached with brew or pecl: | |
- > brew install memcached / pecl install memcached* | |
- When prompted for the libmemcached directory, press 'Enter' and the installer will automatically find it. | |
3. Add the following extensions to your php.ini file: | |
- > sudo vim /Applications/MAMP/bin/php/php7.2.1/conf/php.ini (replace your PHP version as necessary) | |
- Add 'extension=igbinary.so' to the file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install libmemcached with brew: | |
> brew install libmemcached | |
2. Install memcached with pecl: | |
- > sudo /Applications/XAMPP/xamppfiles/bin/pecl install memcached | |
- When prompted for the libmemcached directory, press 'Enter' and the installer will automatically find it. | |
3. Add the memcached extension to your php.ini file: | |
- > sudo vim /Applications/XAMPP/xamppfiles/etc/php.ini | |
- Add 'extension=memcached.so' to the file |