Installing Memcached for MAMP PRO 1.9 running php 5.3.2 on OSX
After a few tedious hours of trying to install memcached for Mamp on my 10.6.8 based Mac, I finally found a solution. This has been sourced from a number of places and I hold no warrant for it working for you. This has, however worked for me, so thought i’d post a quick how to. I’m no expert on how this works, so am unable to diagnose any issues you have.
The setup I have is:
- Mac OSX 10.6.8
- MAMP PRO 1.9
- PHP 5.3.2
As i’m a it of a CodeIgniter nut, i’ve been using this Memcached library (default settings work out of the box).
Sources
- http://www.re-cycledair.com/installing-memcache-on-mamp
- http://blog.elinkmedia.net.au/2010/11/02/enable-memcache-on-mamp/
Pingback: noelboss » Blog Archive » Typo3. Caching-Framework. Memcache. Mamp Pro. OS X Lion.
OMG I could kiss you right now. You’ve done, in 5 minutes, what I have been wasting the last flipping week on. Thank you SOOOOO MUCH!
No problem, glad you found it useful :-)
This saved me from a heart attack. I’ve been working on this for hours until I found your tutorial. Thank you very much!
Just a note. To get this to work on my machine I had to download/unarchive the 5.3.2 source -> http://museum.php.net/php5/php-5.3.2.tar.gz into /Applications/MAMP/bin/php5.3/include/php
That’s it! Your memcached daemon is running, and MAMP can talk to it. Happy developing!
Nice, ill have to try this shortly as pear and pecl are dropping out with compile errors…
Worked perfectly thanks. I am using the latest MAMP and had to update the path for PHP.
E.g: /Applications/MAMP/bin/php/php5.3.6/