15:01:15 Create new PHPExcel object
15:01:15 Set document properties
15:01:15 Add some data
15:01:15 Set header/footer
15:01:15 Add a drawing to the header
15:01:15 Set page orientation and size
15:01:15 Rename worksheet
15:01:15 Write to Excel2007 format

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

Fatal error: Uncaught PHPExcel_Writer_Exception: Could not close zip file /var/www/html/pedagogia-hospitalaria/vendor/phpoffice/phpexcel/Examples/04printing.xlsx. in /var/www/html/pedagogia-hospitalaria/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php:399 Stack trace: #0 /var/www/html/pedagogia-hospitalaria/vendor/phpoffice/phpexcel/Examples/04printing.php(95): PHPExcel_Writer_Excel2007->save('/var/www/html/p...') #1 {main} thrown in /var/www/html/pedagogia-hospitalaria/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php on line 399