Bug #12650: Error 500 but the code was executed!?

From: Date: Wed, 08 Aug 2001 12:30:55 +0000
Subject: Bug #12650: Error 500 but the code was executed!?
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-5925@lists.php.net to get a copy of this message
From: lopez@pepe-lopez.com Operating system: FreeBSD PHP version: 4.0.6 PHP Bug Type: Website problem Bug description: Error 500 but the code was executed!? Hi, I get some errors while executing a script: Logfile: FATAL: erealloc(): Unable to allocate 1852794241 bytes [Wed Aug 8 06:24:15 2001] access to X/httpd/X/cgi-bin/php failed for 212.x.x.x, reason: Premature end of script headers The script does only these things: some math-functions, small MySQL-queries (1 time reading, 1 time deleting) on a small table, and sending 1 mail (end of php-code, then html-output!) so the memory allocation with ~1,7gb is wrong! Now the real bug: I open the site (script) in my browser, and an error 500 appears. But ALL code was executing (including the last one, sending a mail!). The HTML-output only won't work! ----- But it works with php 4.0.4pl1 very fine!!! I did download/compile the source today (4.0.6)! I applied the memory patch... -- Edit bug report at: http://bugs.php.net/?id=12650&edit=1

« previous php.mirrors (#5925) next »