What are PATH and other environment variables, and how can I set or use them?
I've just followed this article (http://mac.tutsplus.com/tutorials/server/upgrading-the-native-php-installation-on-os-x-mountain-lion/) to update my php installation using HomeBrew. The latest php version is indeed installed in /usr/local/bin The problem is that my $PATH variable is the following (doing an echo $PATH reveals it) :
...so the old version of php (that comes with mountain lion) always run first
Any ideas on how to solve this? Thank you.