Change PHP version, if required sudo apt install -y apache2 libapache2-mod-php7.4 PHP Support for Ngnix This package provides the PHP modules for Apache 2 web server. You can install a below package with Apache webserver to support PHP. So, we need to install the PHP package on the server to support PHP files. With Zend OPcache v7.4.1, Copyright (c), by Zend Technologiesīoth Apache and Nginx do not support processing of PHP files by default when the browser requests the PHP page. Zend Engine v3.4.0, Copyright (c) Zend Technologies sudo apt install -y php7.1 php7.1-cli php7.1-common Install PHP v7.1 with the following command. sudo apt install -y php7.2 php7.2-cli php7.2-common Install PHP 7.1 on Debian 10 / Debian 9 Install PHP v7.2 with the following command. sudo apt install -y php7.3 php7.3-cli php7.3-common Install PHP 7.2 on Debian 10 / Debian 9 Install PHP v7.3 with the following command. sudo apt install -y php7.4 php7.4-cli php7.4-common Install PHP 7.3 on Debian 10 / Debian 9 Install PHP v7.4 with the following command. sudo apt update Install PHP Install PHP 7.4 on Debian 10 / Debian 9 echo "deb $(lsb_release -sc) main" | sudo tee /etc/apt//php7.list wget Īdd the SURY repository to your system. Import the public using the below commands. sudo apt install -y curl wget gnupg2 ca-certificates lsb-release apt-transport-https However, if you want to install PHP 7.4 / 7.2 / 7.1 on Debian 10, you must set up SURY repository. Skip this section if you want to install PHP 7.3 from the Debian repository. So, you can either install PHP v7.3 from Debian repository or SURY repository.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |