Answers for "how to upgrade php version in linux server"

PHP
1

update php version ubuntu 7.3

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y php7.3
Posted by: Guest on September-18-2020
0

change the php version in linux

sudo update-alternatives --set php /usr/bin/php7.2
sudo update-alternatives --set phar /usr/bin/phar7.2
sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.2
sudo update-alternatives --set phpize /usr/bin/phpize7.2
sudo update-alternatives --set php-config /usr/bin/php-config7.2
Posted by: Guest on September-21-2021

Code answers related to "how to upgrade php version in linux server"

Browse Popular Code Answers by Language