ID: 49552
Updated by: [email protected]
Reported By: r dot j dot day753 at gmail dot com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Unknown, Probably Linux
PHP Version: 5.2.10
New Comment:
Please don't report bugs hwhen you don't even know the OS..
Previous Comments:
------------------------------------------------------------------------
[2009-09-14 09:42:53] r dot j dot day753 at gmail dot com
"due" my bad :)
------------------------------------------------------------------------
[2009-09-14 09:42:07] r dot j dot day753 at gmail dot com
Description:
------------
I was developing my php code under version 4.3.x, bue to problems with
JSON I switch to php 5.2.10 on my webhost site.
Everything works fine, but if I have a syntax error in my code all I am
getting is an internal server error 500.
I have searched various articals and tried disabling output buffering
using ini_set('output_buffering','0'); But this doesnt seem to fix the
problem, I have also enabled error reporting.
Any clues?
Reproduce code:
---------------
Sample code that will produce the error
<?php
// Just forget the semi-colon and I get the internal server error 500
echo "Hello"
?>
Expected result:
----------------
Internal server error 500 thrown from a web browser
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49552&edit=1