sudo su root

Run the rpm -qa | grep -i package command, where package (eg. ea-php72-mb) represents part of the name of the package that you wish to install, to determine if the package is already installed.

Run this to determine if package is available:

yum list ea-*

ea-php70-php-mbstring.x86_64

ea-php70-php-zip.x86_64

To Install the available package run the command with exact package name found in list:

yum install ea-php70-php-mbstring.x86_64

Now that you have completed installing the fileinfo PHP extension from the CLI, you can confirm it is enabled by running the following command :

scl enable ea-php70 'php -i' | grep 'mbstring'
Configure Command => './configure' ...'--enable-mbstring=shared'...'
/opt/cpanel/ea-php70/root/etc/php.d/mbstring.ini,
mbstring
mbstring support => enabled