Page 1 of 4

Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3

Posted: Fri Sep 20, 2019 9:15 am
by sysadminn
Hello,

Its noticed that the Centos 7 64 now when installing VestaCP comes with

PHP 7.4.0RC2 (cli) (built: Sep 17 2019 16:37:54) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0-dev, Copyright (c) Zend Technologies


What's the way to downgrade it to php 7.3

PHP 7.4 still not compatible with many things so its generates problems, anyone knows?

Do not mention the php selector since not need this.

Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3

Posted: Fri Sep 20, 2019 11:39 am
by grayfolk
sysadminn wrote:
Fri Sep 20, 2019 9:15 am
Hello,

Its noticed that the Centos 7 64 now when installing VestaCP comes with

PHP 7.4.0RC2 (cli) (built: Sep 17 2019 16:37:54) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0-dev, Copyright (c) Zend Technologies


What's the way to downgrade it to php 7.3

PHP 7.4 still not compatible with many things so its generates problems, anyone knows?

Do not mention the php selector since not need this.
Disable remi-php74 repo and enable remi-php73 then yum update.

Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3

Posted: Fri Sep 20, 2019 11:56 am
by sysadminn
grayfolk wrote:
Fri Sep 20, 2019 11:39 am

Disable remi-php74 repo and enable remi-php73 then yum update.


Its not working, i trying below :

Code: Select all

yum install yum-utils
yum-config-manager --disable remi-php74
yum-config-manager --enable remi-php73
yum update -y

Code: Select all

yum update -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ams.edge.kernel.org
 * epel: fedora-mirror02.rbc.ru
 * extras: mirror.webruimtehosting.nl
 * remi: mirror.reconn.ru
 * remi-php55: mirror.reconn.ru
 * remi-php56: mirror.reconn.ru
 * remi-php73: mirror.reconn.ru
 * remi-safe: mirror.reconn.ru
 * remi-test: mirror.reconn.ru
 * updates: ams.edge.kernel.org
No packages marked for update

Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3

Posted: Fri Sep 20, 2019 12:32 pm
by grayfolk
sysadminn wrote:
Fri Sep 20, 2019 11:56 am
grayfolk wrote:
Fri Sep 20, 2019 11:39 am

Disable remi-php74 repo and enable remi-php73 then yum update.


Its not working, i trying below :

Code: Select all

yum install yum-utils
yum-config-manager --disable remi-php74
yum-config-manager --enable remi-php73
yum update -y

Code: Select all

yum update -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ams.edge.kernel.org
 * epel: fedora-mirror02.rbc.ru
 * extras: mirror.webruimtehosting.nl
 * remi: mirror.reconn.ru
 * remi-php55: mirror.reconn.ru
 * remi-php56: mirror.reconn.ru
 * remi-php73: mirror.reconn.ru
 * remi-safe: mirror.reconn.ru
 * remi-test: mirror.reconn.ru
 * updates: ams.edge.kernel.org
No packages marked for update
Also disable remi-php5* and remi-test

Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3

Posted: Fri Sep 20, 2019 12:54 pm
by sysadminn
grayfolk wrote:
Fri Sep 20, 2019 12:32 pm
Also disable remi-php5* and remi-test
Still the same, can you try on your end on a server and give results with commands here?

Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3

Posted: Fri Sep 20, 2019 1:19 pm
by grayfolk
sysadminn wrote:
Fri Sep 20, 2019 12:54 pm

Still the same, can you try on your end on a server and give results with commands here?
Dont have any problems:

Code: Select all

]# rpm -q centos-release && uname -ir && php -v
centos-release-7-7.1908.0.el7.centos.x86_64
3.10.0-957.27.2.el7.x86_64 x86_64
PHP 7.3.9 (cli) (built: Aug 27 2019 22:52:39) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.9, Copyright (c) 1998-2018 Zend Technologies

Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3

Posted: Fri Sep 20, 2019 1:21 pm
by sysadminn
grayfolk wrote:
Fri Sep 20, 2019 1:19 pm
sysadminn wrote:
Fri Sep 20, 2019 12:54 pm

Still the same, can you try on your end on a server and give results with commands here?
Dont have any problems:

Code: Select all

]# rpm -q centos-release && uname -ir && php -v
centos-release-7-7.1908.0.el7.centos.x86_64
3.10.0-957.27.2.el7.x86_64 x86_64
PHP 7.3.9 (cli) (built: Aug 27 2019 22:52:39) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.9, Copyright (c) 1998-2018 Zend Technologies
Share exactly which commands you used from the begin?

Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3

Posted: Mon Sep 23, 2019 5:45 pm
by sufiyanshaikh
Facing same issue. No solution yet from Vestacp support team. Disappointed.

Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3

Posted: Mon Sep 23, 2019 6:55 pm
by grayfolk
sufiyanshaikh wrote:
Mon Sep 23, 2019 5:45 pm
Facing same issue. No solution yet from Vestacp support team. Disappointed.
This is not related to VestaCP. You should have some server administration skills first.

Re: Centos 7 - downgrade PHP 7.4.0RC2 to php 7.3

Posted: Mon Sep 23, 2019 8:04 pm
by sufiyanshaikh
grayfolk wrote:
Mon Sep 23, 2019 6:55 pm
sufiyanshaikh wrote:
Mon Sep 23, 2019 5:45 pm
Facing same issue. No solution yet from Vestacp support team. Disappointed.
This is not related to VestaCP. You should have some server administration skills first.

Very well reply grayfolk. , below is the solution (Personally tested by me to downgrade to 7.1 from 7.4):
WARNING: It is creating issues with PHPMYADMIN. http://www.servermom.org/upgrade-vestac ... ntos/2974/


Rather than saying its not vestacp issue, you could have at least tried to help us(That's how a good community get build). Thanks a lot for your efforts to reply on the post.