Question

Upgrading PHP 7.0 to 7.1

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!

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

I found this solution, I hope you find it useful: https://jakelprice.com/article/how-to-upgrade-from-php-70-to-php-71

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!