Page 1 of 1

Downgrade PHP 8 to PHP 7.4 on CentOS7

Posted: Sun Dec 20, 2020 9:18 am
by Nakao
Hi everybody,

Please help me how to downgrade PHP 8 to the 7.4 version on CentOS 7.
Today I just install VestaCP on my VPS but my website doesn't work because it's not compatible with PHP 8. I don't know why VestaCP automatically install PHP 8.

So anybody is there a way to solve this?

Thank you so much.

Re: Downgrade PHP 8 to PHP 7.4 on CentOS7

Posted: Wed Dec 30, 2020 7:54 pm
by skamasle
Hi

You can remove PHP and install new version.

I suppose you have remi repo, you just need select php 7.4

Re: Downgrade PHP 8 to PHP 7.4 on CentOS7

Posted: Thu Dec 31, 2020 12:36 am
by grayfolk
Nakao wrote:
Sun Dec 20, 2020 9:18 am
Hi everybody,

Please help me how to downgrade PHP 8 to the 7.4 version on CentOS 7.
Today I just install VestaCP on my VPS but my website doesn't work because it's not compatible with PHP 8. I don't know why VestaCP automatically install PHP 8.

So anybody is there a way to solve this?

Thank you so much.
viewtopic.php?p=83162#p83162

Or use yum downgrade

Re: Downgrade PHP 8 to PHP 7.4 on CentOS7

Posted: Mon Jan 04, 2021 4:53 am
by Nakao
skamasle wrote:
Wed Dec 30, 2020 7:54 pm
Hi

You can remove PHP and install new version.

I suppose you have remi repo, you just need select php 7.4

Thank you so so much. I done :)

Re: Downgrade PHP 8 to PHP 7.4 on CentOS7

Posted: Mon Jan 04, 2021 4:53 am
by Nakao
grayfolk wrote:
Thu Dec 31, 2020 12:36 am

viewtopic.php?p=83162#p83162

Or use yum downgrade
Thank you so so much. I removed PHP 8.0 and install 7.4 instead :)

Re: Downgrade PHP 8 to PHP 7.4 on CentOS7

Posted: Fri Sep 03, 2021 3:36 am
by amelie.viennot
skamasle wrote:
Wed Dec 30, 2020 7:54 pm
Hi

You can remove PHP and install new version.

I suppose you have remi repo, you just need select php 7.4
The question asked was basically, how can I downgrade from Version 2 to Version 1
and you replied delete version 2 and install version 1
loooool, that's ridiculous

Re: Downgrade PHP 8 to PHP 7.4 on CentOS7

Posted: Sat Sep 04, 2021 12:23 pm
by imperio
amelie.viennot wrote:
Fri Sep 03, 2021 3:36 am
skamasle wrote:
Wed Dec 30, 2020 7:54 pm
Hi

You can remove PHP and install new version.

I suppose you have remi repo, you just need select php 7.4
The question asked was basically, how can I downgrade from Version 2 to Version 1
and you replied delete version 2 and install version 1
loooool, that's ridiculous
write more about your problem