From:             [EMAIL PROTECTED]
Operating system: Linux Redhat 7.2
PHP version:      4.2.3
PHP Bug Type:     Output Control
Bug description:  session.auto_start diables flushing output

I'm not sure this is indeed a bug, I tried looking for some piece of
documentation about this, but failed.

I wrote a script that used the flush() command and it failed to operate
correctly. knowing the many possible pitfalls around output buffering, and
since the role of the script is a web-crawler anyway, I moved it to the
cli version, yet the problem persisted - the script (which is meant to
work for hours) refuses to flush it's output, no matter what I did.


After going over the ini file line by line commenting and uncommenting, I
found that "session.auto_start = 1" causes php to fail any form of output
buffer flushing: flush(), ob_flush() and implicit_flush directive, even
with the cli sapi.

I don't want to duplicate the ini file, therefore I would be happy to find
a way to keep the apache module with session.auto_start=1, yet overcoming
this issue, so to be able to flush my output, at least in cli scripts.
-- 
Edit bug report at http://bugs.php.net/?id=20015&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20015&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20015&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20015&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20015&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20015&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20015&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20015&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20015&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20015&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20015&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20015&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20015&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20015&r=isapi

Reply via email to