PHPExcel_Writer_Exception with message “Could not close zip file php://output.”

后端 未结 12 743
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-05 00:30

I\'m using PHPExcel to export some data to user in an excel file. I would like the script to send the excel file to the user immediately after it\'s creation. Here is my tes

12条回答
  •  暖寄归人
    2020-12-05 00:53

    It's caused by dir permission. Try to enter the final folder, then chmod -R 777 [folder_name]. It should work :)

提交回复
热议问题