Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

JJ07

macrumors newbie
Original poster
Jan 4, 2008
4
0
I have MAMP installed and basically im trying to upgrade PEAR to the latest version.

I know how to do it and all, but the problem is that it keeps upgrading the version of PEAR thats installed with OSX.

If i type:
Code:
which pear

I get:
Code:
/usr/bin/pear

The pear that im trying to upgrade is located in:
Code:
/Applications/MAMP/bin/php5/lib/php/PEAR

How can i change this so that it looks here instead? Do i use export PATH? Im a bit clueless on this.

Thanks.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.