Examveda
Examveda

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.

This Question Belongs to PHP >> Website Security

Join The Discussion

Related Questions on Website Security