Thank you very much for your response. I have always used
apt-get update && apt-get upgrade
to keep my server up to date. I run it weekly manually.
When I do run that, I’ve noticed that it says lines like:
Calculating upgrade… Done
The following packages have been kept back:
> hhvm libgd3 linux-generic linux-headers-generic linux-image-generic
> nginx-custom nginx-ee openssl php5.6-cli php5.6-common php5.6-fpm php7.0-cli
> php7.0-common php7.0-fpm
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
So I thought that it was not overwriting the EE stuff anyway? Some times (maybe every 6 months) it does say that the version it trying to install is different from the one current installed by my package maintainer… in these instances I always choose the option to keep the currently installed package maintainers version.
In over 3 years of using EE, this is the first time I have had an issue like this.
I am happy to say your fixed worked though! All I did was run
ee stack upgrade
Now I get:
root@web:~# php -v
PHP 7.0.21-1~ubuntu14.04.1+deb.sury.org+1 (cli) (built: Jul 6 2017 09:38:10) ( NTS )
Copyright © 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright © 1998-2017 Zend Technologies
with Zend OPcache v7.0.21-1~ubuntu14.04.1+deb.sury.org+1, Copyright © 1999-2017, by Zend Technologies
I did not even need to run the remove, purge and install commands. Thank you very much for your help.
If people with EE should never run
then I think this should be added to the documentation or made more clear. I have never seen that before.
Thanks once again!