Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

Error – No package php-mbstring and php-bcmathavailable in RHEL 7

Errors

# yum install php-mbstring
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
No package php-mbstring available.
Error: Nothing to do

# yum install php-bcmath
Loaded plugins: amazon-id, rhui-lb, search-disabled-repos
No package php-bcmath available.
Error: Nothing to do

Solutions

yum -y install yum-utils
yum repolist all
yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional
yum update
yum install php-mbstring
yum install php-bcmath
Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)