mb_detect_encoding is part of the
mbstring extension, which is
not installed by default. One of the server admins will probably need to install it. To do it yourself, you'd need to:
- get the PHP source
- build mbstring
- install the mbstring in the PHP extensions directory
- load mbstring in php.ini
Chances are you don't have permission to perform at least one of those tasks.
With shell access & appropriate permissions, there may be an easier way using a package manager (
yum will
do it). While this approach is easier, it still requires the same access permissions.