Broken php dependencies

Hi, I need to add the sodium and imagemagick php modules to my apache server, but:

 Error:
 Problem: package php-sodium-8.0.20-1.el9.x86_64 requires php(api) = 20200930-64, but none of the providers can be installed
  - package php-sodium-8.0.20-1.el9.x86_64 requires php(zend-abi) = 20200930-64, but none of the providers can be installed
  - conflicting requests

and so forth. 8.1 is the only stream on Rocky 9 yes? Not sure what to do.

sodium, imagick, and some other additional extensions are not from Rocky but from EPEL.

EPEL build system is not able to manage modules

So such extensions are only available for default version 8.0 (with distro life time support),
not for alternative streams.

I tried using a remi-epel php module instead, but I could not get anything but the default modules to load for some reason.

Have you tried to follow the Wizard ?
https://rpms.remirepo.net/wizard/