title: Memcache with MAMP and PHP 5.3 on Mac OS X
body: <p>I would like to install the PHP Memcache extension to my MAMP server (v1.9.1 with PHP 5.3.2). To do this I've followed the steps in the installation instruction here: <a href="http://www.lullabot.com/articles/setup-memcached-mamp-sandbox-environment" rel="nofollow noreferrer">http://www.lullabot.com/articles/setup-memcached-mamp-sandbox-environment</a></p>
  <p>When running <code>./pecl i memcache</code> it results in an error:</p>
  <blockquote>
  <p>./pecl: line 28: /Applications/MAMP/bin/php5.3/bin/php: Permission denied</p>
  <p>./pecl: line 28: exec: /Applications/MAMP/bin/php5.3/bin/php: cannot execute: Unknown error: 0</p>
  </blockquote>
  <p>Running <code>sudo ./pecl i memcache</code> doesn't work, too. Did you have the same trouble and how did you solve it?</p>
  <p>I have not installed Xcode, or should I do?</p>
  <p>Best Regards,
  Jim</p>