How to upgrade php 7.3 to 7.4 in Ubuntu?
Hi Guys,
Today, I will learn you how to upgrade php version from 7.3 to 7.4 in ubuntu. We will describe step by step ubuntu update php 7.3 to 7.4. we explained simply about upgrade php 7.3 to 7.4 ubuntu. i would like to show you how to upgrade php 7.3 to 7.4 ubuntu. we will help you to give example of ubuntu update php 7.3 to 7.4.
Here command to update php 7.3 to 7.4 in ubuntu os.
Install PHP 7.4
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt install php7.4
Install PHP 7.4 Packages
sudo apt install php7.4-common php7.4-cli php7.4-bcmath php7.4-bz2 php7.4-curl php7.4-gd php7.4-intl php7.4-json php7.4-mbstring php7.4-readline php7.4-xml php7.4-zip php7.4-fpm
PHP 7.4 Enable
sudo a2dismod php7.3
sudo a2enmod php7.4
sudo service apache2 restart
now you can check php version:
php -v
- How to Zip a Folder in Ubuntu/Linux Using the Command Line?
- How to Add and Delete Users on Ubuntu?
- How to Change Hostname on Ubuntu 22.04?
- How to Install PHP SOAP Extension on Ubuntu 22.04?
- How to Install and Master Django on Ubuntu 22.04?
- How to Install PHP JSON Extension in Ubuntu 22.04?
- How to install PHP Imagemagick on Ubuntu 22.04?
- How to Install PHP Intl Extension in Ubuntu 22.04 ?