PrepAway - Latest Free Exam Questions & Answers

Which of the following correctly describe this directive (Choose two)?

You are configuring PHP4. You want to use the engine directive. Which of the following correctly
describe this directive (Choose two)?

PrepAway - Latest Free Exam Questions & Answers

A.
it is really only useful in the non-Apache module version of PHP.

B.
it is used by sites that would like to turn PHP parsing on and off on a per-directory basis.

C.
it is used by sites that would like to turn PHP parsing on and off on a per-virtual server basis.

D.
it indicates the name of file where script errors should be logged.

E.
it sets the error reporting level.

Explanation:

This directive is really only useful in the Apache module version of PHP. It is used by sites that
would like to turn PHP parsing on and off on a per-directory or per-virtual server basis. By putting
engine off in the appropriate places in the httpd.conf file, PHP can be enabled or disabled.


Leave a Reply