Install php 7.1 modules on Ubuntu 20.04 LTS using below command sudo apt-get install php7.1-cli php7.1-common php7.1-json php7.1-opcache php7.1-mysql php7.1-mbstring php7.1-mcrypt php7.1-zip Install php 7.0 Modules Install php 7.2 modules on Ubuntu 20.04 LTS using below command sudo apt install php7.2-common php7.2-mysql php7.2-curl php7.2-json php7.2-cgi php7.2-opcache php7.2-mbstring Install php 7.1 Modules Install php 7.3 modules on Ubuntu 20.04 LTS using below command sudo apt install php7.3-common php7.3-mysql php7.3-xml php7.3-xmlrpc php7.3-curl php7.3-gd php7.3-cli php7.3-dev php7.3-mbstring php7.3-opcache php7.3-zip Install php 7.2 Modules Install php 7.4 modules on Ubuntu 20.04 LTS using below command sudo apt install php7.4-common php7.4-mysql php7.4-curl php7.4-json php7.4-cgi php7.4-opcache php7.4-mbstring Install php 7.3 Modules Install php 8.0 modules on Ubuntu 20.04 LTS using below command sudo apt install php8.0-gd php8.0-xml php8.0-soap php8.0-mbstring php8.0-mysql Install php 7.4 Modules Install php 8.0 Modules sudo apt search php8.0-* Next Install php modules as per your php versions, search php modules are available using below command sudo apt-cache search php7* With Zend OPcache v7.4.9, Copyright (c), by Zend Technologies Installing PHP Modules/Extensions Zend Engine v3.4.0, Copyright (c) Zend Technologies To check current PHP version using command line php -v Install php 7.0 on Ubuntu 20.04 LTS using below command sudo apt -y install php7.0 Check PHP Version Install php 7.1 on Ubuntu 20.04 LTS using below command sudo apt -y install php7.1 Install PHP 7.0 on Ubuntu 20.04 LTS Install php 7.2 on Ubuntu 20.04 LTS using below command sudo apt -y install php7.2 Install PHP 7.1 on Ubuntu 20.04 LTS Install php 7.3 on Ubuntu 20.04 LTS using below command sudo apt -y install php7.3 Install PHP 7.2 on Ubuntu 20.04 LTS Now Install php 7.4 on Ubuntu 20.04 LTS using below command sudo apt -y install php7.4 Install php 8.0 on Ubuntu 20.04 using below command sudo apt -y install php8.0 Install PHP 7.4 on Ubuntu 20.04 LTS Update the system packages sudo apt update Install PHP 8.0 on Ubuntu 20.04 LTS Update the System Packages sudo apt updateĪdd the PHP PPA repository in Ubuntu 20.04 LTS using below commands, sudo apt install software-properties-common sudo add-apt-repository ppa:ondrej/php Restart an Apache service to take effect sudo systemctl restart apache2 If you are using Apache web server, Install latest php with Apache on Ubuntu 20.04 LTS using below commands sudo apt update sudo apt install php libapache2-mod-php PHP is free and open source multi purpose scripting language which is used for Web Development.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |