Zend PHP 5.3 Certification Exam
Functions and Arrays
Object Oriented Programming
Data Format & Types
Strings and Patterns
Databases and SQL
Web Features 1
Which of the following directives can be used to improve the security while using the shared hosting environment?
Each correct answer represents a complete solution. Choose all that apply.
Answer options C, B, and A are correct.
The open_basedir is used to limit the files that PHP can open to a specified directory tree. If the file/directory exists within the directory tree speci?ed by the open_basedir, it is successfully succeeded; otherwise, it fails to open the file. The disable_functions and disable_classes functions allow you to disable certain native PHP functions and classes for security reasons. safe_mode resolves the security related issues during shared hosting; however, it does not resolve all issues so it is highly depreciated in PHP5.
Answer option D is incorrect. It is not the correct directive name.
© 2013 Zend PHP Certification Exam