10:29:38 Create new PHPExcel object
10:29:38 Set document properties
10:29:38 Add some data
10:29:38 Rename worksheet
10:29:38 Set cell protection
10:29:38 Set sheet security
10:29:38 Write to Excel2007 format

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

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