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!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.