admin管理员组文章数量:1026989
I am trying to generate a pdf using dompdf which works well on local server (XAMPP) But when i go live (CPANEL) i get this error **Fatal
error: Uncaught Error: Call to undefined function Dompdf\mb_internal_encoding() in /home/calbrema/public_html/dompdf/vendor/dompdf/dompdf/src/Dompdf.php on line 295 ( ! ) Error: Call to undefined function Dompdf\mb_internal_encoding() in /home/calbrema/public_html/dompdf/vendor/dompdf/dompdf/src/Dompdf.php on line 295**. Here is whats on line 295
$this->mbstringEncoding = mb_internal_encoding();
mb_internal_encoding('UTF-8');
I am using Php 8.3 on shared Cpanel hosting. I checked under php extensions and mbstring is ticked.
How do i solve this please help
I tried adding this extension=php_mbstring.dll
in php.ini as stated in one of the forums here which doesn't seem to working at all.
I am trying to generate a pdf using dompdf which works well on local server (XAMPP) But when i go live (CPANEL) i get this error **Fatal
error: Uncaught Error: Call to undefined function Dompdf\mb_internal_encoding() in /home/calbrema/public_html/dompdf/vendor/dompdf/dompdf/src/Dompdf.php on line 295 ( ! ) Error: Call to undefined function Dompdf\mb_internal_encoding() in /home/calbrema/public_html/dompdf/vendor/dompdf/dompdf/src/Dompdf.php on line 295**. Here is whats on line 295
$this->mbstringEncoding = mb_internal_encoding();
mb_internal_encoding('UTF-8');
I am using Php 8.3 on shared Cpanel hosting. I checked under php extensions and mbstring is ticked.
How do i solve this please help
I tried adding this extension=php_mbstring.dll
in php.ini as stated in one of the forums here which doesn't seem to working at all.
本文标签: phpHow to solve Dompdf mbinternalencodingStack Overflow
版权声明:本文标题:php - How to solve Dompdf mb_internal_encoding - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745660677a2161869.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论