Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend Exam 200-710 Topic 7 Question 68 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 68
Topic #: 7
[All 200-710 Questions]

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)

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Melissa
15 hours ago
I'm going with options A and B. Can't go wrong with the classic php.ini tweaks. Keeps things simple and secure.
upvoted 0 times
...
Celestina
10 days ago
Option B looks good to me. Adding dl to the disable_functions list is a clean way to restrict its usage without affecting the entire system.
upvoted 0 times
...
Omer
16 days ago
I'm not a fan of option D. Writing a custom function called dl() and then using the auto_prepend_file directive seems too complex and could potentially cause issues down the line.
upvoted 0 times
...
Lourdes
19 days ago
Option A seems the most straightforward way to disable the dl() function. Disabling the entire function is a simple and effective solution.
upvoted 0 times
Latosha
2 days ago
A) Set enable_dl to Off in the server's php.ini configuration file.
upvoted 0 times
...
...
Audra
22 days ago
I'm not sure about option D though, writing a custom function seems like a lot of extra work.
upvoted 0 times
...
Antonette
23 days ago
I agree with Rolande, that seems like the most straightforward way to disable user scripts.
upvoted 0 times
...
Rolande
30 days ago
I think we should go with option A and set enable_dl to Off in the php.ini file.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77
a