Different versions of php web - console | nginx
Different versions of php web - console | nginx
I have php 7.0 and 7.1 installed, php7.1 is displayed from the console but phpinfo shows php7.0
How can I assign php7.1 by default?
System
------
nginx
ubuntu 16.04
Web
=====

Console
======

php-fpm.service - LSB: starts php7.0-fpm
PHP 7.1.20-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul 25 2018 10:06:40) ( NTS )
How to set php7.1-fpm by default.
Other question, how to multiphp (7.0, 7.1 and 7.2) with Ubuntu?
How can I assign php7.1 by default?
System
------
nginx
ubuntu 16.04
Web
=====

Console
======

php-fpm.service - LSB: starts php7.0-fpm
PHP 7.1.20-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: Jul 25 2018 10:06:40) ( NTS )
How to set php7.1-fpm by default.
Other question, how to multiphp (7.0, 7.1 and 7.2) with Ubuntu?
Re: Different versions of php web - console | nginx
There's really no easy way to do this?
I need to activate php7.1 in all environments.
I need to activate php7.1 in all environments.