I am trying to install PEAR on fresh install of MAMP 3.0. OSX 10.8.5 So far I
1) Changed the directory permissions so I can execute files within them chmod 774 /Applications/MAMP/bin/php/php5.5.9/bin/pear
2) Setup an alias to avoid typing the whole path. alias mpear="/Applications/MAMP/bin/php/php5.5.9/bin/pear"
3) I checked whether pear is working by: mpear –V It all seems OK: PEAR Version: 1.9.4 PHP Version: 5.5.9 Zend Engine Version: 2.5.0
4) Next I tried to upgrade pear: mpear channel-update pear.php.net and the response I got on Terminal is channel-add: temp_dir is not writable: "/tmp/pear/install" - You can change this location with "pear config-set temp_dir" So I am stuck there… Can someone help with config-set – what exactly I need to enter into the Terminal.