I have used MPDF to generate PDF file and I got an error
(Uncaught MpdfMpdfException: Mpdf cannot function properly with mbstring.func_overload enabled)
My PHP version is 7.1 and my operating system is centos. How can I fix this problem?
I have used MPDF to generate PDF file and I got an error
(Uncaught MpdfMpdfException: Mpdf cannot function properly with mbstring.func_overload enabled)
My PHP version is 7.1 and my operating system is centos. How can I fix this problem?
2
Answers
Got your server
php.ini
and remove the semicolon character (;) in front of the line below-Then, restart your server. For more details, you can visit this.
You can change your apache configuration (in my case it was in /etc/httpd/…).
Or you could change it for the whole website:
Then restart apache using