![]() 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.30, Copyright (c), by 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 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |