I'm curently tranferring some scripts that use PHPExcel from a Windows to a Linux server.
On the Linux machine I ran into the following problem:
If I download the created xlsx-file [$objWriter->save('php://output');] directly from the server, Excel complains about a wrong format and is unable to open it.
If, on the other hand I save the file to the server disk [$objWriter->save('file.xlsx');] and download this file to client, evrything works as expected.
So what may couse this problem?