[Seek Help] installation de php8.0
Tofloor
poster avatar
nickk
deepin
2021-10-11 19:57
Author

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

Reply Favorite View the author
All Replies
sophiajjj
deepin
2021-10-28 06:19
#1

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

Last

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


Reply View the author
lycheezou
deepin
2022-05-15 01:42
#2
sophiajjj

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

Last

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


第八步的安装php8 所应该使用的命令是什么呢

Reply View the author
lycheezou
deepin
2022-05-15 03:00
#3
sophiajjj

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

Last

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


第四步的 wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add - 这个apt-key 我需要从哪里获取到呢

Reply View the author
lucenarenato
deepin
2024-11-02 02:10
#4

Hello

Install PHP8, 8.2, 8.3 no Deepin 23

  • https://github.com/lucenarenato/scriptDeepin23InstallPHP/blob/master/README.md
# deepin-scripts

## RUN

```sh
sudo chmod -R 777 deepin-scripts-php8.2-installer.sh
sudo chmod -R 777 version_php.sh
sudo ./deepin-scripts-php8.2-installer.sh
sudo ./version_php.sh

Outras informacoes

  • https://packages.debian.org/bullseye/amd64/libffi7/download
sudo apt policy php
sudo apt install libdav1d4
sudo apt install libdav1d5
sudo apt --fix-broken install
sudo apt autoremove
sudo apt install libffi8
sudo apt install php8.2-fpm
wget http://ftp.br.debian.org/debian/pool/main/libf/libffi/libffi7_3.3-6_amd64.deb
sudo dpkg -i libffi7_3.3-6_amd64.deb
sudo apt install -f

Linux renato-HP 6.9.6-amd64-desktop-rolling #23.01.01.02 SMP PREEMPT_DYNAMIC Tue Jul 23 12:20:02 CST 2024 x86_64 GNU/Linux

cat /etc/os-version
[Version]
SystemName=Deepin
SystemName[zh_CN]=深度操作系统
ProductType=Desktop
ProductType[zh_CN]=桌面
EditionName=Community
EditionName[en_US]=Community
EditionName[zh_CN]=社区版
MajorVersion=23
MinorVersion=23
OsBuild=31038.101

## sources Brasil da USP e UFPR
cat /etc/apt/sources.list

## Generated by deepin-installer
deb https://community-packages.deepin.com/beige/ beige main commercial community
#deb-src https://community-packages.deepin.com/beige/ beige main commercial community

deb https://deepin.c3sl.ufpr.br/deepin apricot main contrib non-free
deb http://sft.if.usp.br/deepin apricot main contrib non-free
# deb http://mirror.unesp.br/deepin apricot main contrib non-free


Reply View the author