09:30:18 Create new PHPExcel object
09:30:18 Set document properties
09:30:18 Add some data
09:30:18 Rename worksheet
09:30:18 Set document security
09:30:18 Set sheet security
09:30:18 Write to Excel5 format

Warning: fopen(/var/www/ECHANGE/sf2_echange_mcdo/vendor/phpoffice/phpexcel/Examples/11documentsecurity-xls.xls): failed to open stream: Permission denied in /var/www/ECHANGE/sf2_echange_mcdo/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 /var/www/ECHANGE/sf2_echange_mcdo/vendor/phpoffice/phpexcel/Examples/11documentsecurity-xls.xls. It may be in use or protected.' in /var/www/ECHANGE/sf2_echange_mcdo/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php:93 Stack trace: #0 /var/www/ECHANGE/sf2_echange_mcdo/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel5.php(226): PHPExcel_Shared_OLE_PPS_Root->save('/var/www/ECHANG...') #1 /var/www/ECHANGE/sf2_echange_mcdo/vendor/phpoffice/phpexcel/Examples/11documentsecurity-xls.php(94): PHPExcel_Writer_Excel5->save('/var/www/ECHANG...') #2 {main} thrown in /var/www/ECHANGE/sf2_echange_mcdo/vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php on line 93