ID: 29853 Comment by: php at sharpdreams dot com Reported By: webmaster at neteject dot com Status: Open Bug Type: Performance problem Operating System: Windows 2003 PHP Version: 5.0.0 New Comment:
I also experienced this, and yes it is an IIS issue. AFAIK, output buffering is the only solution. You can do your own output buffering in the page if certain blocks need to be pushed to the client (ie, in long calculations). Previous Comments: ------------------------------------------------------------------------ [2004-08-26 17:50:00] webmaster at neteject dot com Description: ------------ PHP 5.0.1 ISAPI Windows 2003 Enterprise Server. I have tested this on different machines with W2003 Server Enterprise installed. I have webppages with a lot of phpchunks with sql and different calculations. When have outbuffering to off the page is printed very slow and halts in almost every chunk. Setting the output to On prints the page fast. I have tested this on my local network. I have connected to 1 xp machine and 2 w2003 machines. XP did not have any problems with output buffering off. One interesting thing is that the page runs quite fast on the local computer which makes me wonder if it has any conjunction with how IIS 6 works. Anyway, the fact still remains that running with output buffering on produces a fast page from anywhere. Reproduce code: --------------- <? Try any mysql_query here. ?> <HTML> <BODY> <? Try any mysql_query here. ?> <TABLE> <? Try any mysql_query here. ?> etc... Expected result: ---------------- Page loading in chunks ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=29853&edit=1