I have a script that uses many CURL sessions, and their target is pretty slow (4-5 seconds a request). I want to disable output buffering so that the user isnt stuck there with a blank screen while the (hundred) CURL sessions tick off.
I have attempted:
using flush(), ob_flush()… etc etc etc
setting output_buffering directive to false
setting implicit_flush directive to true
here are the returns from ini_get_all:
[output_buffering] => Array
[global_value] => 4096
[local_value] => 4096
[access] => 6
[implicit_flush] => Array
[local_value] => 1
[access] => 7
I am unaware of what access level 6 means. I do know that 7 is anywhere so makes sense that my ini_set on that directive worked.
I really need to be able to disable the buffering due to the nature of my application.