
Nginx and fpm services should be running.
#Install phpmyadmin ubuntu 16 install
Then install fpm extension and nginx packages. For users interested in running Nginx and PHP, you need to stop and disable Apache service. The installation of php on Ubuntu configures Apache. PHP configurations related to Apache is stored in /etc/php/7.4/apache2/php.ini Using PHP 7.4 with Nginx on Ubuntu 20.04/18.04/16.04 Use the next command to install additional packages: sudo apt-get install php7.4-xxxĮxample: sudo apt install -y php7.4. With Zend OPcache v7.4.0beta4, Copyright (c), by Zend Technologies Zend Engine v3.4.0-dev, Copyright (c) Zend Technologies Install PHP 7.4 on Ubuntu 18.04/19.04/16.04 using the command: sudo apt -y install php7.4 Sudo apt-get update Step 2: Install PHP 7.4 on Ubuntu 18.04/16.04 Sudo apt -y install software-properties-common We’ll add ppa:ondrej/php PPA repository which has the latest build packages of PHP. Listing all loaded PHP modules: $ php -m Install PHP 7.4 on Ubuntu 18.04 / Ubuntu 16.04įor the other editions of Ubuntu, use the process below: Step 1: Add PHP PPA Repository With Zend OPcache v7.4.3, Copyright (c), by Zend Technologies

Zend Engine v3.4.0, Copyright (c) Zend Technologies

Sudo apt install php php-cli php-fpm php-json php-common php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear php-bcmath

Just install it and the extensions you with the apt package manager. NOTE: Ubuntu 20.04 ships with PHP 7.4 in its upstream repositories.
