nerdexam
Zend

200-530 · Question #110

The dl() function is used to load PHP extensions on the server at runtime. However, you want to disable it due to some security issue. Which of the following actions will you perform to accomplish…

The correct answer is B. Set the enable_dl option to 0 in the PHP.ini file. C. Add the dl() function in the disable_functions list in the PHP.ini configuration file. See the full explanation below for the reasoning.

Question

The dl() function is used to load PHP extensions on the server at runtime. However, you want to disable it due to some security issue. Which of the following actions will you perform to accomplish the task? Each correct answer represents a complete solution. Choose two.

Options

  • AAdd the dl() function in the blocked_functions() list in the PHP.ini file.
  • BSet the enable_dl option to 0 in the PHP.ini file.
  • CAdd the dl() function in the disable_functions list in the PHP.ini configuration file.
  • DSet the enable_dl option to 1 in the PHP.ini file.

How the community answered

(31 responses)
  • A
    13% (4)
  • B
    71% (22)
  • D
    16% (5)

Community Discussion

No community discussion yet for this question.

Full 200-530 Practice