Kalpesh Gamit Kalpesh Gamit - 1 year ago 92
PHP Question

OS X Mavericks how to upgrade PHP 5.4 to 5.5+ latest?

I would tring to update my php version to the version 5.5+ latest

When I'm looking via /usr/local/bin/php -v in the console I see the version 5.5+ and with php -v it tell me there is the version 5.4 installed.

How can I remove the older version 5.4 and install latest 5.5+ latest?

Answer Source

Typically I've used the PHP package from liip.ch

From terminal, run:

curl -s http://php-osx.liip.ch/install.sh | bash -s 5.5

It will not remove the default installation of PHP 5.4 from your system, but it does not have any impact on using PHP 5.5. They address the issue with php -v in their FAQ.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download