I got the following error from one of my PHP functions (PHP verion 5.6)
Fatal error: Call to undefined function mb_detect_encoding()
It is one of the mbstring package functions. So I checked in the phpinfo(). There is no "mbsting". I tried to install mbstring by using the following command in my CentOS 6.8 server.
yum install php56w-mbstring
But it returns:
No package php56w-mbstring available. Error: Nothing to do
I also tried: rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
Ref: https://serverfault.com/questions/732468/how-to-install-php56-on-centos-6-x86-64
I have also tried: Cannot install mbstring php conflict but still the same.