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:

Glory
20 days ago
Ah, the good old dl() function. It's like the 'Please Steal My Identity' button on your hosting dashboard.
upvoted 0 times
...
Providencia
24 days ago
Option C? Really? Disabling the dl() function by adding it to disable_classes? That's like trying to lose weight by eating more cake.
upvoted 0 times
...
Melissa
26 days 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
1 months 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
1 months 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
Herminia
13 days ago
B) Add dl to the current value of disable_functions in the server's php.ini configuration file.
upvoted 0 times
...
Adelle
15 days ago
A) Set enable_dl to Off in the server's php.ini configuration file.
upvoted 0 times
...
...
Lourdes
1 months 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
Buck
22 days ago
B) Add dl to the current value of disable_functions in the server's php.ini configuration file.
upvoted 0 times
...
Latosha
27 days ago
A) Set enable_dl to Off in the server's php.ini configuration file.
upvoted 0 times
...
...
Audra
2 months ago
I'm not sure about option D though, writing a custom function seems like a lot of extra work.
upvoted 0 times
...
Antonette
2 months ago
I agree with Rolande, that seems like the most straightforward way to disable user scripts.
upvoted 0 times
...
Rolande
2 months 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