You can update the PHP installation with just a one line command from your terminal. Head to this page for more info:
https://php-osx.liip.ch/