09:50:12 Create new PHPExcel object
09:50:12 Set document properties
09:50:12 Set default font
09:50:12 Add some data
09:50:12 Rename worksheet
09:50:12 Write to Excel5 format

Warning: fopen(/var/www/html/PHPExcel/Examples/02types-xls.xls): failed to open stream: Permission denied in /var/www/html/PHPExcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php on line 85

Fatal error: Uncaught exception 'PHPExcel_Writer_Exception' with message 'Can't open /var/www/html/PHPExcel/Examples/02types-xls.xls. It may be in use or protected.' in /var/www/html/PHPExcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php:88 Stack trace: #0 /var/www/html/PHPExcel/Classes/PHPExcel/Writer/Excel5.php(214): PHPExcel_Shared_OLE_PPS_Root->save('/var/www/html/P...') #1 /var/www/html/PHPExcel/Examples/02types-xls.php(152): PHPExcel_Writer_Excel5->save('/var/www/html/P...') #2 {main} thrown in /var/www/html/PHPExcel/Classes/PHPExcel/Shared/OLE/PPS/Root.php on line 88