From: jorrit at gameparty dot net Operating system: Windows PHP version: Irrelevant PHP Bug Type: Performance problem Bug description: IIS loads all PHP pages very slow - solution included
Description: ------------ A friend of mine had the following problem for almost 2.5 years: He is a Windows expert, and uses IIS to host his pages. He uses PHP to make dynamical pages, and on different systems and with different PHP versions, he had the problem that pages loaded very slow. He could not find anything on the internet, only some suggestions in newsgroups that IIS does not like a lot of small pieces of data outputted after eachother, for instance echo-ing the contents of a table in a while loop. We fixed this bij setting output_buffering to On, causing PHP to return all the output to IIS in one package. This solved the problem he had for 2.5 years immediately. I suggest that this is entered somewhere as a comment in php.ini or the manual, because it can help a lot of people. -- Edit bug report at http://bugs.php.net/?id=28524&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28524&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28524&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28524&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28524&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28524&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28524&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28524&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28524&r=support Expected behavior: http://bugs.php.net/fix.php?id=28524&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28524&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28524&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28524&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28524&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28524&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28524&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28524&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28524&r=float