php flush(); not writing anything to page
<p>I'm running a large scraper script and I have some <code>echo "$this is happening"</code> calls set up ont he page to help me do debugging. </p>

<p>I'd like these messages to show up as they're written, rather than at the end of the 20-minute scrape because, obviously, if things go wrong I don't want to wait so long to know about them.</p>

<p>I've tried setting <code>output_buffering = off</code> in <code>php.ini</code>, as well as <code>implicit_flush = on</code>. In my script, I've put <code>flush();</code> after every <code>echo</code> call, but to no avail.</p>

<p>What's the correct way to do this? When I load the script it's currently going to an invisible page (that is, my php script's tab shows whatever was on the last tab that I was looking at in Chrome). Nothing is being written.</p>

<p>If it helps I'm running WAMP / Apache on Win7 64bit.</p>
