PHPExcel ZipArchive not found

后端 未结 6 1324
鱼传尺愫
鱼传尺愫 2020-12-05 11:20

I\'ve just downloaded PHPExcel package and I tried to import an Excel spreadsheet, but all I get is an error ZipArchive not found. I work on Windows, but server

6条回答
  •  眼角桃花
    2020-12-05 11:55

    The easy way is to insert : PHPExcel_Settings::setZipClass(PHPExcel_Settings::PCLZIP); in your script just before calling $objWriter->save();

    This worked for me.

    regards!

提交回复
热议问题