Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 605 Bytes

0159.md

File metadata and controls

16 lines (13 loc) · 605 Bytes

You want to stop showing PHP errors or to show only critical errors so that a malicious hacker cannot hack your Website. Which of the following PHP directive settings will you use to accomplish this task? Each correct answer represents a part of the solution. Choose all that apply.

  • A) display_errors = off
  • B) log_errors = on
  • C) cgi.force_redirect
  • D) error_reporting = E_ALL | E_STRICT
Answer

Answer: A, B