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 To Downgrade PHP 8.0 to 7.4 VestCP

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
ZulqarnainKhan
Posts: 6
Joined: Sun Jun 24, 2018 7:51 am

Os: Ubuntu 15x
Web: apache + nginx
How To Downgrade PHP 8.0 to 7.4 VestCP
  • Quote

Post by ZulqarnainKhan » Fri Jan 08, 2021 1:07 pm

Greetings everyone, i want to degrade my php-pfm to 7 from 8.

I am usning Nginx, PHP-FPM how can i degrade please help me out. Thanks alot
Top

ZulqarnainKhan
Posts: 6
Joined: Sun Jun 24, 2018 7:51 am

Os: Ubuntu 15x
Web: apache + nginx
Re: How To Downgrade PHP 8.0 to 7.4 VestCP
  • Quote

Post by ZulqarnainKhan » Fri Jan 08, 2021 1:21 pm

And i am using CentOS 7
Top

ZulqarnainKhan
Posts: 6
Joined: Sun Jun 24, 2018 7:51 am

Os: Ubuntu 15x
Web: apache + nginx
Re: How To Downgrade PHP 8.0 to 7.4 VestCP
  • Quote

Post by ZulqarnainKhan » Fri Jan 08, 2021 1:54 pm

Issue fixed, this guide worked

Follow this guide
  • yum --enablerepo=remi update remi-release
  • yum -y remove php
  • yum --enablerepo=remi-php74 install php74-php php74-php-pear php74-php-bcmath php74-php-pecl-jsond-devel php74-php-mysqlnd php74-php-gd php74-php-common php74-php-fpm php74-php-intl php74-php-cli php74-php php74-php-xml php74-php-opcache php74-php-pecl-apcu php74-php-pecl-jsond php74-php-pdo php74-php-gmp php74-php-process php74-php-pecl-imagick php74-php-devel php74-php-mbstring
  • service php-fpm stop
  • service php74-php-fpm start
  • rm /usr/bin/php
  • ln -s /usr/bin/php74 /usr/bin/php
  • php -v
Top


Post Reply
  • Print view

3 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