View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001552XdebugFeature/Change requestpublic2018-05-19 08:242018-05-19 09:21
ReporterRobert Lu 
Assigned To 
PlatformOSOS Version
Product Version2.6.0 
Target VersionFixed 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:
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
Attached Files

- Relationships

-  Notes
Robert Lu (reporter)
2018-05-19 09:21

It also affects PHP 7.1-dev.

pull request: [^]

- 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

Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker