Topic: Error: Unable to find a match: php56 on AlmaLinux 8

Greetings / Bonjour,

I followed the instructions on the wizard to install PHP 5.6 on AlmaLinux 8 to no avail.

Operating system: EL 8
Wanted PHP version: 5.6.40...
Type of installation: Multiple versions simultaneously
Architecture: x86_64

I get this error message:

Last metadata expiration check: 0:29:44 ago on Thu 07 Dec 2023 04:12:47 PM UTC.
All matches were filtered out by exclude filtering for argument: php56
Error: Unable to find a match: php56

I've spent hours searching for an answer without success.

Thank you / Merci for any help,

CW

Re: Error: Unable to find a match: php56 on AlmaLinux 8

The answer is in the error message

> All matches were filtered out by exclude filtering for argument: php56

So check for "exclude" and "filtering" in dnf documentation

- man dnf
- man dnf.conf

Usually, such "excludepkgs" directive is added by some panel application that provides its own set of packages.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Error: Unable to find a match: php56 on AlmaLinux 8

Kind reminder: PHP 5.6 has reached its end of life 5 years ago
https://www.php.net/eol.php

Really time to fix your technical debt and work on upgrading to a modern PHP version

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Error: Unable to find a match: php56 on AlmaLinux 8

Thank you for your help and reminder.

CWR