Upgrading from PHP5.6 to PHP7.1
Upgrading from PHP5.6 to PHP7.1
Hello,
I have followed the different tutorials available on this forum but I have a problem.
I'm running Debian 8 and when I execute the command php -v, the console returns :
However, when I go to a php file containing the phpinfo(); command, I'm still on PHP Version 5.6.30-0+deb8u1.
Thank you in advance for your help.
I have followed the different tutorials available on this forum but I have a problem.
I'm running Debian 8 and when I execute the command php -v, the console returns :
Code: Select all
PHP 7.1.13-1+0+0~2018010515131310.14+jessie~1. gbp1086fa (cli) (built: Jan 17 2018 08:58:29) (NTS)
Thank you in advance for your help.
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: Upgrading from PHP5.6 to PHP7.1
There are atleast 50 threads and 100 other sites that give you proper procedure for this, you could have tried to search.
Code: Select all
a2dismod php5 && a2enmod php7.0
systemctl restart apache2