Parsing HTML Files as PHP
From OCS Support Wiki
Introduction
This guide will show you how to enable PHP code on your HTML pages.
Enabling PHP on HTML Pages
If you aren't sure which type of system you're on, try the non-PHPSuExec method first. If that doesn't work, try the PHPSuExec method.
Non-PHPSuExec Systems
In your .htaccess file in your public_html folder, add:
RemoveHandler .htm .html AddType application/x-httpd-php .htm .html
If you don't have an .htaccess file, just create one. You may have to enable hidden files in your FTP program to see and edit hidden files (files with a . at the beginning).
PHPSuExec Systems
AddType application/x-httpd-php5 htm html
