发布于 3年前

PHPExcel Fatal error: Uncaught Error: Class 'PHPExcel_Shared_String' not found in 错误解决方法

PHPExcel在Linux平台下运行报错:Fatal error: Uncaught Error: Class 'PHPExcel_Shared_String' not found in...

解决方法:

require_once 'PHPExcel/IOFactory.php'; #在引用 Autoloader.php 之前引用 IOFactory.php
require_once 'PHPExcel/Autoloader.php';
...............................
$excel = new PHPExcel();
...................
©2020 edoou.com   京ICP备16001874号-3