Upgrading PHP 7.0 to 7.1

December 3, 2017 103.2k views
PHP Ubuntu 16.04

Hi I want to know if there are instructions to upgrade php 7.0 to php 7.1

I found some articles but they all point to this repository which I don’t know how trustworthy it is.

sudo add-apt-repository ppa:ondrej/php
sudo apt-get update

Is there a ‘trusted official’ way of doing this?


3 Answers

That link also shows you how to upgrade from 7.0 and 7.1 to 7.2 as well - which is what the latest version of Laravel is based on!

Its super simple, and only takes 2 minutes to do!

Have another answer? Share your knowledge.