Page 1 of 1

How did VestaCP downgrade PHP8.1 to 7.4

Posted: Wed May 04, 2022 1:19 pm
by user8139
I use centos 7
My program will not run on php8.1, php7.4 is supported at most
What should I do

Re: How did VestaCP downgrade PHP8.1 to 7.4

Posted: Mon May 09, 2022 6:27 pm
by sandro
I think you would need to uninstall all php 8.1 packages.

First make a list of all installed packages: rpm -qa | grep php-8.1

Then disable the remi-php81 repository, changing the "enabled" parameter in the file /etc/yum.repos.d/remi-php81.repo from 1 to 0 (zero).

As explained above, now enable the remi-php74.repo repository.

Install all php 7.4 packages you need.