Reputation: 1807
Im trying to update php to 5.4, and I think ive installed it with http://php-osx.liip.ch/.
But when i do php -v
it says that i have 5.3.15. But if i do /usr/local/php5/bin/php -v
it says 5.4.9. Is there something i should change to get 5.4 as default?
here's a pic of Terminal:
(never done this before, sorry if its a stupid question.)
Upvotes: 0
Views: 344
Reputation: 1807
typing this in Terminal fixed it for me: PATH=/usr/local/php5/bin:$PATH
Upvotes: 0
Reputation: 3714
Uninstall the old version of php and make sure that the new versions directory is in the $PATH
variable.
Upvotes: 2