20:04:40 Create new PHPExcel object
20:04:40 Set document properties
20:04:40 Add some data
20:04:40 Rename worksheet
20:04:40 Set cell protection
20:04:40 Set sheet security
20:04:40 Write to Excel2007 format

Warning: ZipArchive::close(): Failure to create temporary file: Permission denied in /var/www/html/php5/Delivery/api/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php on line 388

Fatal error: Uncaught exception 'PHPExcel_Writer_Exception' with message 'Could not close zip file /var/www/html/php5/Delivery/api/vendor/phpoffice/phpexcel/Examples/12cellProtection.xlsx.' in /var/www/html/php5/Delivery/api/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php:389 Stack trace: #0 /var/www/html/php5/Delivery/api/vendor/phpoffice/phpexcel/Examples/12cellProtection.php(92): PHPExcel_Writer_Excel2007->save('/var/www/html/p...') #1 {main} thrown in /var/www/html/php5/Delivery/api/vendor/phpoffice/phpexcel/Classes/PHPExcel/Writer/Excel2007.php on line 389