Posts Tagged PECL
Hot To Install Memcache And PHP Client On Mac Snow Leopard
I recently installed the memcached daemon on my MacBook Pro, incuding the necessary PHP client for development purposes. I just prefer to work locally instead of using a VM running Linux. And the process is actually quite simple and straight forward. Please note, I have included both clients, the old standard one and the newer PECL extension, because I deal with different applications and also lots of people seems to get confused when they install one version and their memcache classes cannot get instantiated and throw errors. So, if in doubt, just install both.
These are the five (four if you know which extension you want) components needed:
- libevent (requred library for memcached)
- memcached daemon
- libmemcached (required library for the php client)
- php extension (standard)
- php extension (PECL)
Now open your terminal and off we go: (more…)