[problem help] Deepin not able to install PHP 8
Tofloor
poster avatar
a***[email protected]
deepin
2024-05-09 19:07
Author

I have the updated the v23 version and issue is still there. I want to install PHP 8 i have tried different tutorials and in last I followed this https://bbs.deepin.org/en/post/226891
and now when run this command sudo apt install php-from then I am getting this error. If I fix one then other new one came.
Please help to fix this.

image.png

Reply Favorite View the author
All Replies
aksharlabs
deepin
2024-05-15 21:08
#1

Deepin 23 repository have not all packages needed to install php version you need. You can check script to install php 8.2 and change needed packages in script here https://github.com/khumnath/my-scripts/tree/main/deepin-scripts

Reply View the author
a***[email protected]
deepin
2024-05-23 20:57
#2
aksharlabs

Deepin 23 repository have not all packages needed to install php version you need. You can check script to install php 8.2 and change needed packages in script here https://github.com/khumnath/my-scripts/tree/main/deepin-scripts

Same error [php8.2 depends on cli, common etc]

Reply View the author
lucenarenato
deepin
2024-11-01 13:01
#3

hello!
Were you able to resolve the installation of php8 or later?

Reply View the author
lucenarenato
deepin
2024-11-02 02:06
#4
  • https://github.com/lucenarenato/scriptDeepin23InstallPHP
# 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