Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to make memcache work on MAMP 1.9. In the process I have successfully installed memcached and tested it. But I can't find a way to install on my MAMP. Any suggestions.


share|improve this question

1 Answer 1

up vote 1 down vote accepted

I had this same problem today. I tried installing the memcache module using PECL and it turns out that PECL is compiling the module to a 64bit architecture. You can check the architecture by:

file /Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-non-zts-20090626/

My result (working) is now this:

/Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-non-zts-20090626/ Mach-O universal binary with 2 architectures
/Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-non-zts-20090626/ (for architecture i386): Mach-O bundle i386
/Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-non-zts-20090626/ (for architecture x86_64):       Mach-O 64-bit bundle x86_64

Previously it was just:

/Applications/MAMP/bin/php5.3/lib/php/extensions/no-debug-non-zts-20090626/ (for architecture x86_64):       Mach-O 64-bit bundle x86_64

I followed the steps in Matthias Schmidt's blog. The tutorial is for XAMPP but it should be the same (more or less) with MAMP.

share|improve this answer
Thanks. Can't give you 1 up, I don;t have enough points. But your solution worked perfectly. – Gautam Jun 25 '10 at 4:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.