For anyone still needing to upgrade to PHP7. I wrote a bash script to make the process painless. Below is a link to the scripts GitHub page. All you need to do is run 3 commands in the terminal and you’re upgraded.