nerdexam
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)
  • A
    2% (1)
  • B
    10% (5)
  • C
    81% (42)
  • D
    4% (2)
  • E
    4% (2)

Topics

#display_errors#error reporting#information disclosure#php.ini

Community Discussion

No community discussion yet for this question.

Full 200-710 Practice