20:47:40 Create new PHPExcel object
20:47:40 Set document properties
20:47:40 Add some data
20:47:40 Rename worksheet
20:47:40 Set document security
20:47:40 Set sheet security
20:47:40 Write to Excel5 format

Warning: fopen(/var/www/teknisa/packages/teknisa/fmt/backend/vendor/phpoffice/phpexcel/Examples/11documentsecurity-xls.xls): failed to open stream: Permission denied in /var/www/teknisa/packages/teknisa/fmt/backend/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php on line 90

Fatal error: Uncaught PHPExcel_Writer_Exception: Can't open /var/www/teknisa/packages/teknisa/fmt/backend/vendor/phpoffice/phpexcel/Examples/11documentsecurity-xls.xls. It may be in use or protected. in /var/www/teknisa/packages/teknisa/fmt/backend/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php:93 Stack trace: #0 /var/www/teknisa/packages/teknisa/fmt/backend/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5.php(226): PHPExcel_Shared_OLE_PPS_Root->save('/var/www/teknis...') #1 /var/www/teknisa/packages/teknisa/fmt/backend/vendor/phpoffice/phpexcel/Examples/11documentsecurity-xls.php(94): PHPExcel_Writer_Excel5->save('/var/www/teknis...') #2 {main} thrown in /var/www/teknisa/packages/teknisa/fmt/backend/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php on line 93