From:             [EMAIL PROTECTED]
Operating system: redhat 7.0
PHP version:      4.3.0RC2
PHP Bug Type:     Output Control
Bug description:  Output control + memory limit + big file read

If I try to run this script the server simply exit without giving me
anything.

<?
echo "A";
$fd=fopen("aaa/temp", "wb");
fpassthru($fd);
echo "B";
}
?>

The server is configured with output buffering activated (gz_handler),
memory limit enabled (8MB) and the temp file is bigger than 8MByte

I have understand that the problem that the script excedeed the memory
limit and adding, as first line,

ob_end_clean();

the script works, but in the error log there isn't a fatal error or a
warning, nothing; also the access log doesn't log the hit. It's possible
to add a fatal error to let the programmer know what is the problem.
-- 
Edit bug report at http://bugs.php.net/?id=20772&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20772&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20772&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20772&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20772&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20772&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20772&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20772&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20772&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20772&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20772&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20772&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20772&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20772&r=isapi

Reply via email to