Are you sure you have upgraded correctly? Ondřej Surý has created this PPA which has the latest versions of PHP in it. Add it to your system, and update to get a list of all the software we can install.
$ service apache2 stop
$ sudo apt-get install php7.1 php7.1-common
Remove PHP 7.0
$ sudo apt-get purge php7.0 php7.0-common
Tell Apache to use PHP7.1 now PHP 7.0 is not being used.
Code:
$ a2enmod php7.1
$ service apache2 restart
In case if you are using managed PHP web hosting platform to upgrade your server. You can find the upgrade option in their panel. Most of the platforms, like cPanel and Plesk makes upgrading easy by providing one click option.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.