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

How did VestaCP downgrade PHP8.1 to 7.4

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
user8139
Posts: 1
Joined: Wed May 04, 2022 1:16 pm

Os: CentOS 6x
Web: nginx + php-fpm
How did VestaCP downgrade PHP8.1 to 7.4
  • Quote

Post by user8139 » Wed May 04, 2022 1:19 pm

I use centos 7
My program will not run on php8.1, php7.4 is supported at most
What should I do
Top

sandro
Support team
Posts: 87
Joined: Sun Aug 30, 2020 11:02 am

Os: CentOS 6x
Web: apache + nginx
Re: How did VestaCP downgrade PHP8.1 to 7.4
  • Quote

Post by sandro » Mon May 09, 2022 6:27 pm

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.
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