Report this

What is the reason for this report?

How to upgrade php 5.5.9 to 7.0

Posted on October 18, 2016

Hello, i’m using Ubuntu 14.04 and PHP 5.5.9, but i need to upgrade PHP to a new version, 7.0.

What’s i need to do? I think that’s:

1º - Add PPA Repository : “add-apt-repository ppa:ondrej/php” 2º - Update : “apt-get update” 3º - Upgrade: “apt-get upgrade”

Would it be this?



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.

hello, who can help us please to upgrade. We are a team of frontend developers. Our backend programmers are not more with us. Thank you for connect with me. Looking forward for someone who is able to help us. Thank you

I recommend you following the DigitalOcean tutorial on How To Upgrade To PHP 7. It is assuming you’re using PHP 5.x and explains whole process of upgrading

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.