Setting up Pear Command
It came to a point that I no longer can tolerate the calling of /Application/MAMP/bin/php5.2/bin/pear to just run my pear command. Here is a quick tip to just set up your pear command, is to put it within your bash_profile, and the steps:
- Check the bin_dir:
/Applications/MAMP/bin/php5.2/bin/pear config-show
- Vi ~/.bash_profile and include the bin_dir (basically this is the location of your pear binary)
export PATH=<your bin dir>:$PATH
- Important! Close and load your terminal again, or just run
. ~/.bash_profile