Question

Upgrading PHP 7.0 to 7.1

Posted December 3, 2017 113.8k views
PHPUbuntu 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?

Thanks!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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!

Submit an Answer