I have read about 10 questions like this, but there seems to be no answer to this simple question.
What could cause .htm files to be downloading instead of executed
In Apache & nginx ONLY work .htaccess file:
<FilesMatch ".html$"> SetHandler php-script
also i remove AddHandler and AddType from apache conf
( I use plesk )
Try
AddHandler fcgid-script .htm .html
Or
AddHandler x-mapp-php5 .html .htm
Use AddHandler
also, change htm
to .htm
and add .html
AddHandler application/x-httpd-php .htm .html
AddType application/x-httpd-php .htm .html
http://www.suffix.be/blog/addhandler-addtype-directives