Thanks in advance - I'm hoping Ken or Howard reads this!
First try I tried to update to 16.04 from 14.04 which resulted in my working production virtual ubuntu hyper-v server being unbootable (kernal error? here) 2nd time I'm just trying to update php 7!
Details: current setup
Production server Hyper-v built 2014 on Ubuntu 14.04 Moodle 3.0.5 (20160728) PHP 5.5.9 apache 2.4.7 Mysqli
Goal: update Moodle to 3.3 environment shows I need php5.6 or php 7 (read good post by Ken/Matt questioning why upgrade now if working since many of my added modules may not be ready for php7 but teachers clamor . .)
First time I tried to update to 16.04 and that's where the kernal error I read here may have made my ubuntu unbootable. Rather than try that again, I reverted to saved image and (yes, backed up everything again!)
typed
sudo add-apt-repository ppa:ondrej/php then sudo apt-get update.
Next command differs
Howard says use sudo apt install php or
sudo apt-get install php7.0 or super long one
sudo apt-get install aspell graphviz php7.0-curl php7.0-gd php7.0-intl php7.0-ldap php7.0-mysql php7.0-pspell php7.0-xml php7.0-xmlrpc php7.0-zip
or Ken's yum install php70w* --exclude=php70w-mysql using webstatic which I may be able to make work with apt-get too if webstatic is a better repo to use. or go back and use 5.6 only?? I"m pretty sure I'm using mysqli not mysql.
First time I installed php -v showed php 7 but Moodle still showed php 5.5.9 despite using
sudo a2dismod php5 and then sudo a2enmod php7.0. Fixed php.ini in etc/php/7.0/php.ini to no avail.
Thanks in advance for your help!