13:51:55 Create new PHPExcel object
13:51:55 Set document properties
13:51:55 Add some data
13:51:55 Rename worksheet
13:51:55 Write to Excel2007 format

Warning: ZipArchive::close(): Failure to create temporary file: Permission denied in /var/www/amxw/cclg/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php on line 398

Fatal error: Uncaught PHPExcel_Writer_Exception: Could not close zip file /var/www/amxw/cclg/vendor/phpoffice/phpexcel/Examples/42richText.xlsx. in /var/www/amxw/cclg/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php:399 Stack trace: #0 /var/www/amxw/cclg/vendor/phpoffice/phpexcel/Examples/42richText.php(129): PHPExcel_Writer_Excel2007->save('/var/www/amxw/c...') #1 {main} thrown in /var/www/amxw/cclg/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php on line 399