mac upgrading native php with homebrew, not getting it to work
I tried to update the native php of my mba from 5.3.X to 5.4.X I did this:
brew tap homebrew/dupes brew tap josegonzalez/homebrew-php brew update
brew install php54
This installs php 5.4 on /usr/local/cellar/php54 now when doing which php,
it gives me /usr/bin/php
I tried to add this to ~/.bashrc : export PATH=/usr/local/cellar/php54:$PATH
Now when i re-open terminal and type which php it still tells me php is
located in /usr/bin/php
Is there a good way to fix this issue?
No comments:
Post a Comment