National_Instruments
200-500 · Question #205
You work for a shared hosting provider, and your supervisor asks you to disable user scripts to dynamically load PHP extensions using the dl() function. How can you do this? (Choose 2)
The correct answer is A. Set enable_dl to Off in the server's php.ini configuration file. B. Add dl to the current value of disable_functions in the server's php.ini configuration file. See the full explanation below for the reasoning.
Question
You work for a shared hosting provider, and your supervisor asks you to disable user scripts to dynamically load PHP extensions using the dl() function. How can you do this? (Choose 2)
Options
- ASet enable_dl to Off in the server's php.ini configuration file.
- BAdd dl to the current value of disable_functions in the server's php.ini configuration file.
- CAdd dl to the current value of disable_classes in the server's php.ini configuration file.
- DWrite a custom function called dl(), save it under the name prepend.inc and then set the
How the community answered
(30 responses)- A77% (23)
- C13% (4)
- D10% (3)
Community Discussion
No community discussion yet for this question.