Page 1 of 1

Upgrading to PHP 7.2

Posted: Mon Jan 22, 2018 8:49 am
by naiad
Hi there:

I had php70. I've installed PHP 7.2 with remi repository with no problems ... I have it in console running.
I followed these instructions: https://www.virtual-server.org/blog/upd ... -centos-7/

# php -v
PHP 7.2.1 (cli) (built: Jan 3 2018 08:53:04) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2017 Zend Technologies

The problem is that I can not get Vesta to take this installation.

I don't see any php72.conf or similar in httpd folder. So I have PHP 7.2 installed but Vesta is not getting it.

Where in Vesta you can tell to take /var/opt/remi/php72 folder instead of php70 ?

Anything else to install 7.2 ?

Thank you !

Re: Upgrading to PHP 7.2

Posted: Mon Jan 22, 2018 9:28 am
by ScIT
Forum rules
Before creating a new topic or reply on the forum you should fill out additional fields "Os" and "Web" in your profile section.
In case of violation, the topic can be closed or response from the support will not be received.

Re: Upgrading to PHP 7.2

Posted: Mon Jan 22, 2018 8:13 pm
by mehargags
since you mentioned Remi repo, I presume you are on CentOS

Code: Select all

a2dismod php7.0&& a2enmod php7.2
systemctl restart httpd
Then run PHPinfo() on a page to see if you are on PHP 7.2

And please for the love of god, next time mention your OS and version clearly