php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57627 Failures result in http 200
Submitted: 2007-04-23 09:42 UTC Modified: 2017-01-10 08:05 UTC
From: mfp@php.net Assigned:
Status: Suspended Package: SCA_SDO (PECL)
PHP Version: Irrelevant OS: all
Private report: No CVE-ID: None
 [2007-04-23 09:42 UTC] mfp@php.net
Description:
------------
We have a wide-spread problem with errors causing the script to just fail and Apache returning http 200. Trouble is that 200 means certain things for some of the bindings.

Many of us run with display_errors off in php.ini and therefore
when a php error occurs we just get nothing in return and a 200.
All sorts of things can cause this - a missing include, a syntax
error, etc.

I run with display_errors on, so I get back text that is intended
for the browser: <b>Fatal Error</b> and so on.

This at least tells me something is up, but in fact the code
usually just tries to chew on the text and treat it as an atom
response, xmlrpc response, jsonrpc response etc. This is not
usually much better.

The problem is widespread and in the json and xmlrpc code. 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-10 08:05 UTC] kalle@php.net
-Status: Assigned +Status: Suspended -Assigned To: mfp +Assigned To:
 [2017-01-10 08:05 UTC] kalle@php.net
Suspending this report as the extension have not had a release for almost 9 years.  Please revive this if the extension once again shows life
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC