I installed PHP 7.0 from here http://php-osx.liip.ch/ and followed the instructions to add a new php to mine $PATH, but in the new terminal window php -vstill shows the old version by default.
The new version is used if I source .profileor source .bash_profile(tried both)
I even added a new PHP path to mine .bashrc, but still no luck.
How can I make my mac always use the new version of PHP by default?
Note: Symink is not an option, as I am on El Capitan.
~ / .bashrc
export PATH=/usr/local/php5/bin:$PATH
export PATH=/usr/local/bin:$PATH
export PATH=$HOME/.composer/vendor/bin:$PATH
source
share