I tried updating my mba's own php from 5.3.X to 5.4.X I did this: brew click homebrew / dupes brew tap josegonzalez / homebrew-php brew update brew install php54
This installs php 5.4 to / usr / local / cellar / php 54 now when I do php it gives me / usr / bin / php
I tried adding this to ~ / .bashrc: export PATH = / usr / local / cellar / php54: $ PATH
Now when I open the terminal again and type php, it still tells me that php is in / usr / bin / php
Is there a good way to fix this problem?
source share