Enabling mbstring on Linux Centos 7.9 php7.3

Operating system: CentOS Linux 7.9.2009
OS version: Webmin 1.962 Virtualmin 6.13 php 7.3

having trouble getting mbstring extension to work on Linux Centos 7.9.2009
Extension is installed and enabled in /etc/php.d/mbstring.ini
However, my system still reports it not being enabled or installed.
What am I missing?
Thanks for any advice.


This is common overlook, that happens if you have multiple PHP versions installed. There is a default (configurable) PHP version, which is used when you just call php command (try which php).

You would need to install mbstring extension for PHP 7.3 specifically.

Extension is installed and enabled in /etc/php.d/mbstring.ini

This path defaults to PHP 5.4 on CentOS 7. Try installing it for given PHP version, as :

yum -y install php73-php-{mbstring}

Many thanks, Ilia.
This worked for me:

yum install rh-php73-php-mbstring