PrepAway - Latest Free Exam Questions & Answers

Which of the following are the valid Apache directives for changing the PHP configuration from within the Apac

You are running PHP 4.0 with Apache. Which of the following are the valid Apache directives for
changing the PHP configuration from within the Apache configuration file (Choose all that apply)?

PrepAway - Latest Free Exam Questions & Answers

A.
php_value

B.
php_flag

C.
php_admin_value

D.
php_admin_flag

Explanation:

With PHP 4.0, there are several Apache directives that allow you to change the PHP configuration
from within the Apache configuration file itself.
php_value name value
This sets the value of the specified variable.
php_flag name on|off
This is used to set a Boolean configuration option.
php_admin_value name value
This sets the value of the specified variable. “Admin” configuration settings can only be set from
within the main Apache configuration files, and not from . htaccess files.
php_admin_flag name on|off
This is used to set a Boolean configuration option.</ dd ></dl>


Leave a Reply