Answers for "ubuntu upgrade php 7.4 to 8"

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

upgrade php 8 ubuntu 20.04

# php -v (default PHP version)

# From PHP 8.0 to PHP 7.4:
sudo a2dismod php8.0
sudo a2enmod php7.4
sudo update-alternatives --set php /usr/bin/php7.4
sudo service apache2 restart

# From PHP 7.4 to PHP 8.0:
sudo a2dismod php7.4
sudo a2enmod php8.0
sudo update-alternatives --set php /usr/bin/php8.0
sudo service apache2 restart
Posted by: Guest on August-12-2021
0

ubuntu 16 upgrade php 7.0 to 7.4

sudo apt install -y php7.4-mysqli php7.4-pdo  php7.4-sqlite3 php7.4-ctype php7.4-fileinfo php7.4-zip php7.4-exif
Posted by: Guest on February-19-2021
0

ubuntu 16 upgrade php 7.0 to 7.4

sudo apt-add-repository ppa:ondrej/php
Posted by: Guest on February-19-2021

Code answers related to "ubuntu upgrade php 7.4 to 8"

Browse Popular Code Answers by Language