#30988 [Opn->Bgs]: Add support for throwing 500 Internal Server errors on PHP error

From: Date: Tue, 01 Jan 2008 15:59:09 +0000
Subject: #30988 [Opn->Bgs]: Add support for throwing 500 Internal Server errors on PHP error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-120975@lists.php.net to get a copy of this message
ID: 30988 Updated by: magnus@php.net Reported By: php at sharpdreams dot com -Status: Open +Status: Bogus Bug Type: Feature/Change Request Operating System: Any -PHP Version: Irrelevant +PHP Version: 5 New Comment: Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. Please do not submit the same bug more than once. An existing bug report already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Thank you for your interest in PHP. Bug #41342 Previous Comments: ------------------------------------------------------------------------ [2004-12-06 00:02:12] php at sharpdreams dot com Description: ------------ Currently, there is no way to reliably throw a 500 Internal Server Error (or any other error) on a fatal PHP Error. The only temporary solution is setting the prepend & append to include HTML comments to comment out the error (<!-- -->). This is highly undesirable. Prepend/Append do not work with display_errors off (obviously). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30988&edit=1

« previous php.bugs (#120975) next »