macOS Sierra comes with PHP 5.6 and older versions of the Mac OS come with PHP 5.5 or earlier. Learn how to easily install a different version, such as PHP 7.1.
Sign up for PHP Developer e-Courses and Webinars at https://phppro.academy/
Here are the steps from the video:
1. To get started, go to https://php-osx.liip.ch/
2. Scroll down to the One Line Installation section and copy the command for the version of PHP that you want to install
3. Open up a Terminal window
4. Paste the command…