How To Downgrade PHP 8.0 to 7.4 VestCP
-
- 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
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
I am usning Nginx, PHP-FPM how can i degrade please help me out. Thanks alot
-
- 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
And i am using CentOS 7
-
- 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
Issue fixed, this guide worked
Follow this guide
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