Report this

What is the reason for this report?

Upgrading PHP 7.0 to 7.1

Posted on December 3, 2017

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!



This textbox defaults to using Markdown to format your 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.

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!

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.