Search code examples
memcachedmamp

MAMP: How to install Memcached?


I have tried to install memcached in MAMP - Snow Leopard 10.6.2 using this tutorial:

Setup a Memcached-Enabled MAMP Sandbox Environment

I finished with no errors the first to the last step: Bonus Section: Start and Stop Memcache with MAMP

After that I restarted my MAMP widget in the dashboard and checked by phpinfo but the memcached extension is not there.

Do you guys successfully installed memcached in your MAMP or do you know any other way on how to make it work?

Thanks in advance :)


Solution

  • Already solved it. Posting my answer to my question for future reference :)

    How to install memcache php extension in MAMP:

    follow this tutorial: http://www.lullabot.com/articles/setup-memcached-mamp-sandbox-environment

    http://marc.info/?l=php-general&m=123849727830637&w=2

    download this correct memcache.so http://daleenterprise.com/download/memcache.so

    Install Xcode Tools from your Mac OS X DVD or download it from Apple Developer Connection to install the GNU Compiler Collection (gcc).

    install first the xcode tools in the mac os x dvd then download and install the second one. filename of installer: xcode321_10m2003_developerdvd.dmg