Bug #11249 Updated: Long here files fail silently
| From: | zeev@php.net | Date: | Fri, 15 Jun 2001 14:15:16 +0000 |
| Subject: | Bug #11249 Updated: Long here files fail silently | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56748@lists.php.net to get a copy of this message | ||
ID: 11249
Updated by: zeev
Reported By: claw@kanga.nu
Old-Status: Open
Status: Closed
Bug Type: Scripting Engine problem
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
Where PHP reports its errors depends on the way you configure it. By default, an out-of-memory
error would be trapped and reported to the standard output (browser).
Depending on your configuration of error_reporting, this level of errors (E_ERROR) may not be
reported at all, and depending on other configuration directives (display_errors, log_errors, etc.)
it may or may not be displayed or logged.
I made sure that this error is indeed properly reported with the default configuration, and as
expected, it is.
Previous Comments:
---------------------------------------------------------------------------
[2001-06-01 22:35:53] claw@kanga.nu
Given a large <<< here file (say a few thousand lines) and PHP 4.0.5 or current CVS
versions, and a memory_limit set too low (in my case under 32Meg), trying to load the page will fail
silently. The TCP connection will be dropped, no data will be returned and there will be no message
filed in the system logs. Bad. There should at least be a log entry on such failure.
J C Lawrence
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11249&edit=2