What file contains the above codes?

You are configuring PHP4. Refer to the codes below:
any text on a line after an unquoted semicolon (;) is ignored
[php] ; section markers (text within square brackets) are also ignored
; Boolean values can be set to either:
; true, on, yes
; or false, off, no, none
register_globals = off
magic_quotes_gpc = yes
; you can enclose strings in double-quotes
include_path = “.:/usr/local/lib/php”
;
backslashes are treated the same as any other character
include_path = “.;c:\php\lib”
What file contains the above codes?

You are configuring PHP4. Refer to the codes below:
any text on a line after an unquoted semicolon (;) is ignored
[php] ; section markers (text within square brackets) are also ignored
; Boolean values can be set to either:
; true, on, yes
; or false, off, no, none
register_globals = off
magic_quotes_gpc = yes
; you can enclose strings in double-quotes
include_path = “.:/usr/local/lib/php”
;
backslashes are treated the same as any other character
include_path = “.;c:\php\lib”
What file contains the above codes?

A.
php4.ini

B.
php.sys

C.
phplib.ini

D.
php.ini

E.
php.lib

F.
None of the above.

Explanation:

The configuration file (called php3.ini in PHP 3.0, and simply php.ini as of PHP 4.0) is read when
PHP starts up. For the server module versions of PHP, this happens only once when the web
server is started. For the CGI version, it happens on every invocation.



Leave a Reply 0

Your email address will not be published. Required fields are marked *