Install mbstring with PHP on CentOS

Spread the love

# sudo yum install php-mbstring

If error come while installing packages.


do the following:
sudo nano /etc/yum.repos.d/CentOS-Base.repo
under the section updates, comment out the mirrorlist line (put a # in front of the line), then on a new line write:
baseurl=http://centos.intergenia.de/$releasever/updates/$basearch/

now try:
# yum install php-mbstring

Leave a Reply

Your email address will not be published. Required fields are marked *