Zend
200-710 · Question #156
One common security risk is exposing error messages directly in the browser. Which PHP configuration directive can be disabled to prevent this?
The correct answer is C. display_errors. See the full explanation below for the reasoning.
Security
Question
One common security risk is exposing error messages directly in the browser. Which PHP configuration directive can be disabled to prevent this?
Options
- Ahtml_display
- Berror_reporting
- Cdisplay_errors
- Derror_log
- Eignore_repeated_errors
How the community answered
(52 responses)- A2% (1)
- B10% (5)
- C81% (42)
- D4% (2)
- E4% (2)
Topics
#display_errors#error reporting#information disclosure#php.ini
Community Discussion
No community discussion yet for this question.