FAQ » PHP » How to Run HTML Files as PHP Scripts
To run a .html or .htm file as a PHP script add the following line of code to your .htaccess file.
AddHandler application/x-httpd-lsphp .htm .html .shtml