|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-09-14 09:42 UTC] r dot j dot day753 at gmail dot com
[2009-09-14 09:48 UTC] jani@php.net
[2009-09-14 11:52 UTC] r dot j dot day753 at gmail dot com
[2009-09-14 13:45 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 17:00:01 2025 UTC |
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