Home > Article > Backend Development > Can\'t Find php-mbstring on CentOS 6.2? Here\'s How to Fix It!
Troubleshooting PHP mbstring Installation on CentOS 6.2
Unable to locate the php-mbstring package when attempting to install it with yum? Fear not! Here's a detailed guide to resolve this issue:
Solution:
sudo nano /etc/yum.repos.d/CentOS-Base.repo
baseurl=http://centos.intergenia.de/$releasever/updates/$basearch/
yum install php-mbstring
Explanation:
The default CentOS 6.2 repositories do not include the php-mbstring package. By modifying the repository configuration and specifying an alternative mirror, the system can access and install the necessary package.
The above is the detailed content of Can\'t Find php-mbstring on CentOS 6.2? Here\'s How to Fix It!. For more information, please follow other related articles on the PHP Chinese website!