Unable to find php extensions

When I run:

sudo dnf install php php-common php-opcache php-cli php-gd php-curl php-mysqlnd 

I get this error:

Last metadata expiration check: 0:42:40 ago on Sun 17 Dec 2023 01:59:25 PM -03.
All matches were filtered out by exclude filtering for argument: php
All matches were filtered out by exclude filtering for argument: php-common
All matches were filtered out by exclude filtering for argument: php-opcache
All matches were filtered out by exclude filtering for argument: php-cli
All matches were filtered out by exclude filtering for argument: php-gd
All matches were filtered out by exclude filtering for argument: php-curl
All matches were filtered out by exclude filtering for argument: php-mysqlnd
Error: Unable to find a match: php php-common php-opcache php-cli php-gd php-curl php-mysqlnd

Can you help me?

Answer is in the error message

All matches were filtered out by exclude filtering

So check dnf manual page for “exclude” and “filtering”

man dnf
man dnf.conf

There is a “PACKAGE FILTERING” section there

Probably not an Alma distribution but rather a hugely altered cpanel/plesk/… one which uses its own packages instead of default ones, with different names, and so, which filters the official ones.