PHP8 installation issues

Issues related to applications and software problems and general support
Post Reply
Arrgghh
Posts: 1
Joined: 2021/11/24 11:16:57

PHP8 installation issues

Post by Arrgghh » 2021/11/24 11:19:11

Hello,

I am trying to install PHP8 but end up with the following issue:

Code: Select all

sudo dnf -y install https://rpms.remirepo.net/enterprise/remi-release-8.rpm
Last metadata expiration check: 0:20:55 ago on Wed 24 Nov 2021 05:53:01 PM +07.
remi-release-8.rpm                                                                                                                       29 kB/s |  26 kB     00:00
Error:
 Problem: conflicting requests
  - nothing provides redhat-release >= 8.4 needed by remi-release-8.4-1.el8.remi.noarch

Code: Select all

cat /etc/redhat-release
CentOS Linux release 8.1.1911 (Core)

Code: Select all

 uname -a
Linux nc 4.18.0-147.el8.x86_64 #1 SMP Wed Dec 4 21:51:45 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Any idea?

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: PHP8 installation issues

Post by TrevorH » 2021/11/24 11:42:04

You're on CentOS 8.1 and it says it requires 8.4+ so yum update first then install it.

And after that's all complete, look at alternative distributions as CentOS 8 goes EOL at the end of this year. Check Alma, Rocky, OEL or even the free RHEL developer sub.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply