Ho appena eseguito il comando qui sotto per aggiornare PHP sul mio sistema (due volte, ho dimenticato di eseguirlo prima).
curl -s http://php-osx.liip.ch/install.sh | bash -s 5.5
Output
Detected OS X Mavericks 10.9 All ok.
Get packager.tgz
Unpack packager.tgz
Please type in your password, as we want to install this into /usr/local
Password:
Start packager (may take some time)
downloading http://php-osx.liip.ch/install/5.5-10.8-frontenddev-latest.dat
downloading http://php-osx.liip.ch/install/5.5-10.8/frontenddev/5.5-10.8-frontenddev-5.5.27-20150710-221744.tar.bz2
Installing package 5.5-10.8-frontenddev into root /
Package 5.5-10.8-frontenddev is already installed at version 5.5.27-20150710-221744. You wanted to install version 5.5.27-20150710-221744.
Tuttavia quando eseguo php --version
ottengo
PHP 5.4.17 (cli) (built: Aug 25 2013 02:03:38)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
which php tells me '/usr/bin/php'
Come posso ottenere che il mio sistema utilizzi 5.5?