02:53:27 Create new PHPExcel object
02:53:27 Set document properties
02:53:27 Add some data
02:53:27 Rename worksheet
02:53:27 Set document security
02:53:27 Set sheet security
02:53:27 Write to Excel5 format

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

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