Updated dev-php/PEAR-OLE to dev-php/PEAR-OLE-1.0.0_rc2-r1. After that, calls to PEAR-Spreadsheet_Excel_Writer results in corrupted file. Excel reads - 'Excel found unreadable content' If found this page with the fix... http://www.nikhils.in/2013/12/php-spreadsheetexcelwriter-breaks.html "The solution is change in Root.php \ line 623 : fwrite($FILE, pack("V", 1)); to fwrite($FILE, pack("V", $num_sb_blocks)); to be consistent with prévious RC : Root.php \ line 256 : . pack("V", $iSBDcnt)" Reference : http://pear.php.net/bugs/bug.php?id=19284&edit=3 Applying that change to Root.php fixed the problem for me.
Fixed with PEAR-OLE-1.0.0_rc2-r2