PHP 5.3 to 7.4 for OS X / macOS 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