Home >Backend Development >PHP Tutorial >PHPExcel导入文件就报错,求解~
报错内容如下:
Fatal error: Uncaught exception 'Exception' with message 'Multibyte function overloading in PHP must be disabled for string functions (2).' in F:\xampp\htdocs\MyTest\PHPExcel\Classes\PHPExcel\Autoloader.php:34 Stack trace: #0 F:\xampp\htdocs\MyTest\PHPExcel\Classes\PHPExcel.php(32): require() #1 F:\xampp\htdocs\MyTest\PHPExcel\ee.php(3): require_once('F:\xampp\htdocs...') #2 {main} thrown in F:\xampp\htdocs\MyTest\PHPExcel\Classes\PHPExcel\Autoloader.php on line 34
我不会猜谜语
看demo就行了
在你运行系统的PHP的php.ini 文件中像下面一样注释掉这行试试,记得重启php
;mbstring.func_overload = 2
还是看PHPExcel的demo就ok了!