PHP Fatal error: Call to undefined function mb_detect_encoding()

No Comments

How to fix this error

PHP Fatal error:  Call to undefined function mb_detect_encoding()

when trying to use the mb_detect_encoding PHP function

 

This means that the php-mbstring extention needs to be installed

 

To install this on a Centos server run the following command from the command line

yum install php-mbstring

and then restart the Apache web server by using this command as root

service httpd restart

Image Credits: Photo by Isis França on Unsplash.

Last Updated On April 07, 2018

Related Articles

No results found

Leave a Reply

avatar
  Subscribe  
Notify of
Menu
Copy link