download php command line apple code example
Example 1: osx php
curl -s https://php-osx.liip.ch/install.sh | bash -s 7.3
Example 2: osx php
export PATH=/usr/local/php5/bin:$PATH
curl -s https://php-osx.liip.ch/install.sh | bash -s 7.3
export PATH=/usr/local/php5/bin:$PATH