How to recompile PHP 8 with extra extensions on AlmaLinux 8

I have an installation of AlmaLinux 8 with PHP 8.3.11

I am trying to install Dokuwiki. It needs modules bz2, and intl. php -modules does not show these.

I did:

yum install ea-php83-php-bz2
yum install ea-php83-php-intl

But that doesnt seem to be enough to get these to show in the php modules list.

Thanks in advance!

What if you check with ea-php83 -modules?

$ ea-php83 -modules | grep -E '(bz2|intl)'
bz2
intl