The normal default configuration for web servers is that only files ending in .php will be passed to PHP for processing.
You can try adding the following to your .htaccess file to cause .htm and .html files to be treated as PHP:
Code:
AddType application/x-httpd-php .htm .html