Report this

What is the reason for this report?

cant install the latest php version(7.0.6)

Posted on May 13, 2016

I just install php on ubuntu 16.04 therefor i got installed php7 by default. but the issue is i get the version 7.0.4 not the latest version. with php- v

PHP 7.0.4-7ubuntu2 (cli) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

sudo add-apt-repository ppa:ondrej/php sudo apt-get update sudo apt-get upgrade

i tried everything but can get to the v7.0.6

any idea how can get the latest php version?



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.

Hi. Ubuntu, like all major distros, backports security fixes without changing version numbers. They often only update release numbers (for example, the “7ubuntu2” in “7.0.4-7ubuntu2”). They do this to avoid breaking backwards compatibility while still applying bug fixes and security patches.

Give this a go;

sudo apt-get dist-upgrade

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.