Installing Memcache on MAMP and Running It with PHP
Overview
I wanted to install Memcache in my local development environment.
Environment
MacOSX Yosemite 10.10.1
MAMP3.0.7.3
Note
What we are installing is Memcache. It is NOT Memcached.
ToDo
- Download and compile the Memcache source
- Load memcache.so from php.ini
- Restart MAMP
Steps
- Download and compile the Memcache source
- Load memcache.so from php.ini
- Sample usage from PHP
That’s all.
Installing Memcache on MAMP and Running It with PHP
https://kenzo0107.github.io/en/2015/02/20/mamp-with-memcache/