2/24/2024 0 Comments ToDoList 8.2.6 instal the newMoreover, we can also add the php extension by below-mentioned syntax: Even you can install multiple PHP versions on a single Debian system. Replace version 8.2, 7.4 or 5.6 with the required PHP version to install on your Debian system. Install PHP 5.6 on Debian sudo apt install php5.6.Install PHP 7.4 on Debian sudo apt install php7.4.Install PHP 8.2 on Debian sudo apt install php8.2.You can install any of the required PHP versions on your system. As the latest stable version of PHP is 8.0, but a large number of websites still required PHP 7. Now again update packages for syncing them with the recently added SURY repository before installing php: sudo apt update Importing the GPG key for the repository by the below-mentioned command: wget -qO - | sudo apt-key add - Step 2 – Installing PHP on Debian 11 SURY is a Debian-based third-party PHP repository that bundles PHP software, run the following command to add SURY repository: sudo sh -c 'echo "deb $(lsb_release -sc) main" > /etc/apt//php.list' The following step is to integrate the SURY repository into our system. Prerequisitesįirst, update all the packages of the system by below-mentioned command: sudo apt updateĪfter updating packages, now install the dependencies required by the below-mentioned command: sudo apt install software-properties-common ca-certificates lsb-release apt-transport-https Step 1 – Enable SURY Repository The latest version of PHP is version 8 and in this article, we will discuss the installation of PHP on the Debian 11 (Bullseye) Linux system. It can be used to create e-commerce websites, manage databases, and do session monitoring. It is a scripting language, mostly used for the front end with HTML. PHP abbreviated as “HyperText Processor”, is the open-source programming language used for Web application development.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |