Skip to content

Instantly share code, notes, and snippets.

@maorpolak
maorpolak / memcached-instructions.txt
Created June 10, 2018 11:18
Install Memcached for MAMP on macOS
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
@maorpolak
maorpolak / memcached-installation.txt
Last active September 29, 2021 00:07
Install Memcached for XAMPP on macOS
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