Zend
200-710 · Question #151
200-710 Question #151: Real Exam Question with Answer & Explanation
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 auto_prepend_file directive to prepend.inc in php.ini.
Community Discussion
No community discussion yet for this question.