Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Different versions of php web - console | nginx

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
alexd2
Posts: 15
Joined: Mon Oct 20, 2014 3:55 pm

Different versions of php web - console | nginx
  • Quote

Post by alexd2 » Sat Aug 18, 2018 12:47 am

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
=====
Image

Console
======
Image

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?
Top

alexd2
Posts: 15
Joined: Mon Oct 20, 2014 3:55 pm

Re: Different versions of php web - console | nginx
  • Quote

Post by alexd2 » Sat Aug 18, 2018 9:52 am

There's really no easy way to do this?
I need to activate php7.1 in all environments.
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password