How to install PHP 7.4 On Ubuntu 20.04

How to install PHP 7.4 On Ubuntu 20.04

MivoCloud

54 года назад

664 Просмотров

PHP is a popular server scripting language known for creating dynamic and interactive web pages. Getting up and running with your language of choice is the first step in learning to program.

This tutorial will guide you through installing PHP 7.4 on Ubuntu

Prerequisites
To complete this tutorial, you will need a local or virtual machine with Ubuntu 20.04 installed and have administrative access and an internet connection to that machine

Commands Used
sudo apt-get update
sudo apt -y install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt -y install php7.4
php -v
sudo apt-get install -y php7.4-cli php7.4-json php7.4-common php7.4-mysql php7.4-zip php7.4-gd php7.4-mbstring php7.4-curl php7.4-xml php7.4-bcmath
php -m

Useful Links
VPS/VDS - https://www.mivocloud.com/
PHP - https://www.php.net/

Тэги:

#Php #Ubuntu #Linux #HowTo #VPS #VDS #Server #Hosting #Web
Ссылки и html тэги не поддерживаются


Комментарии: