I'm currently experiencing error on my application using php. here is the error message
Error - mPDF requires mb_string functions. Ensure that PHP is compiled with php_mbstring.dll enabled.
I'm using third party library to generate pdf file (MPDF). It works fine on my loaclhost (windows) but when we deploy it on the linux server, it throws the above error.
Can anyone help me on what's going on and how could I fix it. It seems that the php_mbstring.dll is missing on our linux server configuration.
if (!function_exists("mb_check_encoding")) {
die('mbstring extension is not enabled');
}
And if you get that error, then rebuild PHP from source with mbstring enabled, or apt-get to include it in the build