There isn't a solution that works on all configurations, so some experimentation would be in order.


You would need to edit or create (if you don't already have an .htaccess file) the file. The dot is required in .htaccess for the name. In it, add or enter:


AddType application/x-httpd-php .html .htm


try it if it doesn't work or you start receiving errors try:


AddHandler application/x-httpd-php .html .htm