PHP Installation 8 Debian 11

The following tutorial describes how to install PHP 8 In the Debian system 11

We will complete it in a few minutes with just a few commands.

We start the terminal and update the system:

We install the necessary packages with the command:

The next step is to add the repository and download the GPG key

We are updating packages:

We install php 8

Command php -v it should show us already installed php 8

We install the necessary packages for php 8

Edit the php.ini file

And we're making the following changes:

If we want to upgrade php from 7.4 na 8.0 we follow these steps:

Disabling php 7.4

Launch php 8.0

We reload the apache server:

How useful this post was?

Click on the star, to evaluate it!

Average grade / 5. number of votes:

So far, no votes! Be the first to rate this post.