title: Installing PHPUnit on MAMP 2.1.3 (Mountain Lion)
body: <p>I'm struggling with this issue.
  Here's what I've tried :</p>
  
  <pre><code>$ cd /Applications/MAMP/bin/php/php5.4.10/bin/
  $ sudo ./pear channel-update pear.php.net
  $ sudo ./pear upgrade pear
  $ sudo /Applications/MAMP/bin/php/php5.4.10/bin/pear channel-discover pear.phpunit.de
  $ sudo /Applications/MAMP/bin/php/php5.4.10/bin/pear channel-discover pear.symfony-project.com
  $ sudo /Applications/MAMP/bin/php/php5.4.10/bin/pear install phpunit/PHPUnit
  </code></pre>
  
  <p>So it seems to work, but phpunit is actually installed in </p>
  
  <pre><code>/Applications/MAMP/bin/php3/bin/
  </code></pre>
  
  <p>If I tried to launch it from there, it doesn't work (no output, no log). If I move it to the php 5.4.10 folder, it still doesn't work.</p>
  
  <p>I've replaced the Mac OS php cli with MAMP's :</p>
  
  <pre><code>$ which php
  /Applications/MAMP/bin/php/php5.4.10/bin/php
  </code></pre>
  
  <p>As suggested on some website, I've also tried to remove</p>
  
  <pre><code>/Applications/MAMP/bin/php/php5.4.10/conf/pear.conf
  </code></pre>
  
  <p>But nothing seems to help.</p>
  
  <p>Any idea ?</p>