cd /Applications/MAMP/bin/php/php5.3.6/bin
sudo ./pear upgrade pear
./pear channel-discover pear.phpunit.de
./pear channel-discover components.ez.no
./pear channel-discover pear.symfony-project.com
sudo ./pear install phpunit/PHPUnit
Notice: unserialize(): Error at offset 276 of 1133 bytes in Config.php on line 1050
Notice: unserialize(): Error at offset 276 of 1133 bytes in /Applications/MAMP/bin/php/php5.3.6/lib/php/PEAR/Config.php on line 1050
ERROR: The default config file is not a valid config file or is corrupted.
rm /Applications/MAMP/bin/php/php5.3.6/conf/pear.conf
Could not get contents of package "/Applications/MAMP/bin/php/php5.3.6/bin/pear". Invalid tgz file.
ERROR: failed to mkdir /Applications/MAMP/bin/php/php5.3.6/lib/php/docs/PEAR