how to fix - Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding()

I use the php readability library in some of my code, and found on a new server that it was throwing the error.

Fatal error: Uncaught Error: Call to undefined function mb_convert_encoding()

For me this was caused on Debian from php missing the extention:

php-mbstring php7.0-mbstring

which can be installed in debian by using the following command:

sudo apt-get install php-mbstring

Page Views

This page has been viewed 852 times.

Search Content
Search Content by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

âĪðŸ‘Đ‍ðŸ’ŧðŸ•đ

Random Quote
For a long time it had seemed to me that life was about to begin - real life. But there was always some obstacle in the way, something to be gotten through first, some unfinished business, time still to be served, or a debt to be paid. Then life would begin. At last it dawned on me that these obstacles were my life.
Alfred D. Souza