Downgrade php 7.4 to 7.3 Ubuntu-20lts

Samsul Hoque
1
Here is commands of downgrade php 7.4 to 7.3 in ubuntu -20Lts

sudo add-apt-repository ppa:ondrej/php

sudo apt-get update

sudo apt-get install php7.3

sudo apt-get install php7.3-cli php7.3-common php7.3-json php7.3-opcache php7.3-mysql php7.3-mbstring php7.3-zip php7.3-fpm php7.3-intl php7.3-simplexml

sudo a2dismod php7.4

sudo apt-get install libapache2-mod-php7.3

sudo a2enmod php7.3

sudo service apache2 restart

sudo update-alternatives --set php /usr/bin/php7.3

sudo update-alternatives --set phar /usr/bin/phar7.3

sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.3

sudo update-alternatives --set phpize /usr/bin/phpize7.3

sudo update-alternatives --set php-config /usr/bin/php-config7.3

I hope it can help ...

Tags

Post a Comment

1Comments
  1. Excellent read, I just passed this into a colleague who was doing a little research on that. And he actually bought me lunch because I found it for him smile So let me rephrase that. mobile app development

    ReplyDelete
Post a Comment