How to upgrade php7.0.8 -> php7.0.12?

1 post / 0 new
#1 Fri, 11/18/2016 - 02:46
cinterpro
cinterpro's picture

How to upgrade php7.0.8 -> php7.0.12?

Dear all. I just did a fresh install using Ubuntu 16.04 and installing the virtualmin using the install.sh script
Everything works well. But befor setting up the servers I would like to upgrade to the latest PHP version.
AS far as I know Ubuntu 16.0 comes by default with php version 7.0.8, right?
But trying:
apt-get update/upgrade or aptitude update && aptitude -y dist-upgrade, didn´t do the trick.
Should I need to add a repository to the source list?

Can anyone give me some hints/steps to acomplish this upgrade please?
Hoping to hear from you all
regards,
Paco

ps.
I did: sudo apt-add-repository ppa:ondrej/php
and yes some things where updated:

The following packages will be upgraded:
  isc-dhcp-client isc-dhcp-common linux-firmware python3-distupgrade
  ubuntu-release-upgrader-core unattended-upgrades
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 38.0 MB of archives.
After this operation, 33.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y

But it did not upgrade to the latest php version 7.0.12 as I wanted ... what to do?
thank you..