You can still follow these guidelines below, however Jack Skinner has posted up an easier way to install PHP7 using homebrew here:


Note: you can also use this process to install PHP7 just as easily and avoid the gotchas at the end.

If, like me, you are keen to work with the latest PHP syntax on the latest Mac OS operating system — and especially if you are trying to keep up with the rapidly moving world of Laravel development — you will have noticed that there have been some recent changes that make this more difficult.


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store