How To Upgrade PHP Version in (Digitalocean, Google Cloud and AWS) 2020


sudo php -v


sudo add-apt-repository ppa:ondrej/php


sudo apt-get update


sudo apt install php7.3


sudo apt install php7.3-common php7.3-cli php7.3-bz2 php7.3-curl php7.3-gd php7.3-intl php7.3-json php7.3-readline php7.3-xml php7.3-zip php7.3-fpm php7.3-bcmath php7.3-mbstring


sudo a2dismod php7.2


sudo a2enmod php7.3


sudo service apache2 restart


apt-get update


apt-get install php7.3-mysql


sudo service apache2 restart


sudo php -v

The post How To Upgrade PHP Version in (Digitalocean, Google Cloud and AWS) 2020 appeared first on BMTechTips.

Comments