I am running RHEL 7 and I am trying to use PHP 8.1. PHP is installing and the extensions are installed (per-Yum) but not enabled per-PHP.

* For example, if I run `php -m | grep dom` from the command line I will get no results returned.
* If I run `sudo yum install php81-php-dom` then `yum` returns

```
Package php81-php-xml-8.1.6-1.el7.remi.x86_64 already installed and latest version.

```
* I can use `locate` to see that there is a `.so` file for `dom` at `/opt/remi/php81/root/usr/lib64/php/modules/dom.so`.
* There is an `ini` file at `/etc/opt/remi/php81/php.d/20-dom.ini`.
* I have tried creating a softlink between `/etc/opt/remi/php81/php.d/20-dom.ini` and `/etc/php.d/` (because I think that is where the ini file needs to be) and PHP returns

```
HP Warning:  PHP Startup: Unable to load dynamic library 'dom'
(tried: /usr/lib64/php/modules/dom (/usr/lib64/php/modules/dom: cannot open shared object file: No such file or directory),
        /usr/lib64/php/modules/dom.so (/usr/lib64/php/modules/dom.so: cannot open shared object file: No such file or directory))
in Unknown on line 0

```

I am not sure what I need to do to get this extension and others to be available for PHP. I also tried 8.0.

Any help is greatly appreciated.