Citizix published a tutorial about installing and enabling the Remi repository in Alma or Rocky Linux.
How to install and Enable Remi Repository in Alma/Rocky Linux 8/9
Remi’s RPM repository is a free and stable YUM repository mainly for the PHP stack. It contains packages for the latest versions of PHP. The Remi repository can be used on on Fedora and Enterprise Linux (RHEL / Alma / Rocky and other clones).
How to install and Enable Remi Repository in Alma/Rocky Linux 8/9