11:49:02 Create new PHPExcel object
11:49:02 Set document properties
11:49:02 Add some data
11:49:02 Rename worksheet
11:49:02 Set document security
11:49:02 Set sheet security
11:49:02 Write to Excel2007 format

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

Fatal error: Uncaught exception 'PHPExcel_Writer_Exception' with message 'Could not close zip file /var/www/html/chimaltecalts/mbinv/vendor/phpoffice/phpexcel/Examples/11documentsecurity.xlsx.' in /var/www/html/chimaltecalts/mbinv/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php:389 Stack trace: #0 /var/www/html/chimaltecalts/mbinv/vendor/phpoffice/phpexcel/Examples/11documentsecurity.php(94): PHPExcel_Writer_Excel2007->save('/var/www/html/c...') #1 {main} thrown in /var/www/html/chimaltecalts/mbinv/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php on line 389