Partner and Community Forums
PHP (5.4.3) + IIS 7.5 + "Transfer-Encoding: chunked" = Epic fail :(
Last post Jul 18, 2012 09:37 AM by Mantas.s
May 29, 2012 10:16 AM|Mantas.s|LINK
I'm trying to configure PHP (5.4.3) + IIS 7.5 + "Transfer-Encoding: chunked", however i experience some troubles with IIS. Btw, the code works with apache, however i need to set it up on IIS 7.5. The code uses Transfer-Encoding: chunked to receive ~20MB's
(sometimes more, sometimes less) frpm database and passes for client to download.
I've written test case, which doesn't work for me on IIS. The header get's sent, however the data doesn't manage to pass by. Why? I turned off compressing, tried turning off buffering, tried to turn on Transfer-Encoding, however not sure if i managed. Googled
alot, and still couldn't manage to find a solution.
My test case (php source) can be found here: http://pastebin.com/PpaBNgTg
Waiting for possible sollutions making Transfer-Encoding: chunked work on IIS 7.5 using php.
refreshed pastebin log, current sollution: not to use TRANSFER-ENCODING: chunked with IIS 7.5 +
Jul 18, 2012 09:37 AM|Mantas.s|LINK
Sollution: Use Apache.