FLUSH() is not actually flushing!!!
Posted: Sat May 05, 2012 1:08 pm
I have read a bunch about FLUSH and potential issues and I am experiencing one such issue that I can't seem to figure out.
I can flush() or ob_end_flush() and still, nothing goes to the browser!
I even push out 4k worth of SPACES wrapped inside of <!-- --> marks to make sure a lot of data is being pushed but still, nothing goes out to the browser.
I am running Linux / Apache2 and PHP 5.3.5.
I am guessing (only guessing) that PHP is sending the data but perhaps Apache is keeping the data buffered itself but I have no idea how to test this or how to change it if that is the case. If there is a way to turn off all Apache buffering in my web site's config file, that would be my preferred way to do it or in the .htaccess if needed. Then I only have to worry about PHP buffering.
Any help would be appreciated.
Thanks!
I can flush() or ob_end_flush() and still, nothing goes to the browser!
I even push out 4k worth of SPACES wrapped inside of <!-- --> marks to make sure a lot of data is being pushed but still, nothing goes out to the browser.
I am running Linux / Apache2 and PHP 5.3.5.
I am guessing (only guessing) that PHP is sending the data but perhaps Apache is keeping the data buffered itself but I have no idea how to test this or how to change it if that is the case. If there is a way to turn off all Apache buffering in my web site's config file, that would be my preferred way to do it or in the .htaccess if needed. Then I only have to worry about PHP buffering.
Any help would be appreciated.
Thanks!