Skip to content

Instantly share code, notes, and snippets.

@mdutkin
Last active October 11, 2017 21:18
Show Gist options
  • Save mdutkin/7193c2a417c8c31071a3a3dcb388e189 to your computer and use it in GitHub Desktop.
Save mdutkin/7193c2a417c8c31071a3a3dcb388e189 to your computer and use it in GitHub Desktop.
install php7 memcache module for MAMP
download last from `https://github.com/websupport-sk/pecl-memcache/tree/NON_BLOCKING_IO_php7`
unzip && cd
/Applications/MAMP/bin/php/php7.1.8/bin/phpize
./configure --with-php-config=/Applications/MAMP/bin/php/php7.1.8/bin/php-config
and the output should be like:
...blablabla...
Libraries have been installed in:
/Users/max/Downloads/pecl-memcache-NON_BLOCKING_IO_php7/modules
..blablabla...
from here take your memcache.la and memcache.so and place it in in your ext dir in MAMP:
cp modules/* /Applications/MAMP/bin/php/php7.1.8/lib/php/extensions/no-debug-non-zts-20160303/
paths depend on you php and zend version, anyway it works for me.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment