View Issue Details

IDProjectCategoryView StatusLast Update
0001552XdebugFeature/Change requestpublic2019-02-12 16:38
ReporterRobert LuAssigned Toderick 
PrioritylowSeveritytweakReproducibilityalways
Status assignedResolutionopen 
Product Version2.6.0 
Target Version2.7.0Fixed in Version 
Summary0001552: When display_error is On, http status is 200 with Fatal Error
DescriptionWhen display_error is On(in php.ini).

If an Exception has been throw in PHP, the HTML result is about Exception information.

But the HTTP status code is 200, not 500.
Steps To Reproduce1. make sure display_error is On
2. write index.php with content:
```php
<?php
throw new RuntimeException();
```
3. access with nginx -> fpm.
4. you will see error page with http code 200
TagsNo tags attached.
Operating System
PHP Version7.0-dev

Activities

Robert Lu

2018-05-19 09:21

reporter   ~0004658

It also affects PHP 7.1-dev.

pull request: https://github.com/xdebug/xdebug/pull/420

Issue History

Date Modified Username Field Change
2018-05-19 08:24 Robert Lu New Issue
2018-05-19 09:21 Robert Lu Note Added: 0004658
2019-02-02 01:12 derick Status new => acknowledged
2019-02-02 01:12 derick Target Version => 2.7.0
2019-02-12 16:38 derick Assigned To => derick
2019-02-12 16:38 derick Status acknowledged => assigned