How to upgrade php 5.5.9 to 7.0

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?


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.

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