Map File Extension to PHP

Short and simple, you want to map a file extension such as “html” to run under the PHP engine. Just add the following to your .htaccess file:

AddHandler x-httpd-php html