php7 – How to install PHP-intl on Centos PHP 7.2

My PHP 7.2 application is giving the error Message: Class 'NumberFormatter' not found

We are running:

  • PHP 7.2.34
  • CentOS Linux release 7.9.2009 (Core)

I tried to install PHP-intl and it seemed to work as now if I try again I get this:

# yum install php72-php-intl
# Package php72-php-intl-7.2.34-4.el7.remi.x86_64 already installed and latest version
# Nothing to do

I have reloaded Apache but the extension is not loaded:

  • php -m does not list the module.
  • /usr/lib64/php/modules does not contain intl.so

How do I get from having php72-php-intl-7.2.34-4.el7.remi.x86_64 to having the extension actually installed and enabled in PHP?