Instead of installing PHP locally on your machine, I'd recommend setting up a virtual machine, using for instance Vagrant.
Instead of installing PHP locally on your machine, I'd recommend setting up a virtual machine, using for instance Vagrant.