[Seek Help] installation de php8.0
Community Discussion184 views ·1 replies
2021-10-11 03:57

je n'arrive pas a installer php8.0 donc je cherche une solution pour l'installer 

ReplyFavoriteView the author
All Replies
2021-10-27 14:19

Step 1. Update your System

To update your Deepin Linux System, use the commands as shown below;

sudo apt update
audo apt upgrade -y

Step 2. Reboot your System

PHP 8 Debian packages are on DED.SURY.ORG repository.

sudo apt update
sudo apt install -y lsb-release ca-certificates apt-transport-https software-properties-common

Step 4. Add PHP APT Repository & Import Key

To add the PHP packages APT repository to Deepin Linux, use the command below;

echo "deb https://packages.sury.org/php/  buster main" | sudo tee /etc/apt/sources.list.d/sury-php.list

Then proceed to import the repository key as shown below;

wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add -

Step 5. Do Package Index Update

This is necessary so as to ensure that the repository has been added successfully. To do so use the command below;

sudo apt update


Step 6: Install PHP 8 on Deepin Linux 20.x

ReplyView the author
Use Markdown Editor