15:04:45 Create new PHPExcel object
15:04:45 Set document properties
15:04:45 Set default font
15:04:45 Add some data
15:04:45 Rename worksheet
15:04:45 Write to Excel5 format

Warning: fopen(/var/www/html/academico/vendor/phpoffice/phpexcel/Examples/02types-xls.xls): failed to open stream: Permission denied in /var/www/html/academico/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php on line 90

Fatal error: Uncaught PHPExcel_Writer_Exception: Can't open /var/www/html/academico/vendor/phpoffice/phpexcel/Examples/02types-xls.xls. It may be in use or protected. in /var/www/html/academico/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php:93 Stack trace: #0 /var/www/html/academico/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5.php(226): PHPExcel_Shared_OLE_PPS_Root->save('/var/www/html/a...') #1 /var/www/html/academico/vendor/phpoffice/phpexcel/Examples/02types-xls.php(152): PHPExcel_Writer_Excel5->save('/var/www/html/a...') #2 {main} thrown in /var/www/html/academico/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php on line 93