trigger_error() problems



Hi,
my php is 5.2.4 compiled in apache1.3.37 as module
I have some trouble with trigger_error function
code
<?
trigger_error ('error',E_USER_ERROR);
?>
I get 500 error status (Internal server error) and a record in my error log.
And this
<?
ob_flush();
trigger_error ('error',E_USER_ERROR);
?>
returns 200 and I have no message in my error log.
is it ok ?

Thanks.

--
Alexander A Miroch
.



Relevant Pages

  • Re: problem with include.
    ... include-Statement in it. ... Minimum Requirement: PHP 4.3.3 ... This error log is empty. ...
    (comp.lang.php)
  • Re: Tracking down Out of memory to request being served?
    ... It will report several hundred "Out of memory!" ... The next big suspect is PHP. ... which we assume is getting picked up in the apache error log. ...
    (comp.lang.php)
  • Re: Penetrating a MySql Server
    ... If its a PHP based application, which it is, then you can inject a one-line PHP backdoor into the error log by making a "bogus" request against the server. ... Information Assurance Certification Review Board ...
    (Pen-Test)
  • Re: [SLE] Problems with Apache2 & PHP on 9.1
    ... I also have a similar problem when I try to compile a new version of PHP by ... In error log Ie got the same error messsage ... They were working well prior to the upgrade. ...
    (SuSE)
  • Re: [PHP] Re: HTTP Error 500 - IsapiModule
    ... just use the error log. ... That's the IIS log not the PHP log. ... argument to check the syntax of a file. ... The first thing when you get a 500 error, which is a server error not ...
    (php.general)