How to upgrade php 5.5.9 to 7.0

Posted October 18, 2016 28.9k views

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?

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.

Submit an Answer
2 answers

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

by Brennen Bearnes
PHP 7.0 was released on December 3, 2015. It promises substantial speed improvements over previous versions of the language, along with new features like scalar type hinting. This guide explains how to quickly upgrade a PHP 5.x installation on an Ubuntu 14.04 system with Apache or Nginx, using community-provided packages.

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