Say I want to change the extension of a PHP file, which of the following statements should I edit to change from .php to .html in the httpd.conf file?
A. AddType application/x-httpd-php .php
B. AddType application/x-httpd-php .asp
C. AddType application/x-httpd-asp .php
D. AddType application/x-httpd-asp .asp
Answer: Option A
Solution(By Examveda Team)
Just change the .php to .html and your extension will change. This is used for security purpose.Related Questions on Website Security
A. disable_functions = fopen(), file()
B. disable_functions = fopen, file
C. functions_disable = fopen(), file()
D. functions_disable = fopen, file
A. disable_classes = “administrator, janitor”
B. disable_classes = class administrator, class janitor
C. disable_classes = class “administrator”, class “janitor”
D. disable_class = class “administrator”, class “janitor”
The memory_limit is only applicable if _______ is enabled when you configure PHP. Fill in the blank.
A. –enable-limit
B. -enable-memory-limit
C. –enable-memory-limit
D. -memory-limit
Join The Discussion