MacOSx: PHP Pear

Install Pear

http://pear.php.net/manual/en/installation.getting.php

 

Then

chmod 774 /Applications/MAMP/bin/php/php5.4.4/bin/pear
chmod 774 /Applications/MAMP/bin/php/php5.4.4/bin/php