Use the below rules to parse php in html file
AddHandler application/x-httpd-php5 .html .htm
AddHandler cgi-script cgi PHP html
AddType application/x-httpd-php .php .htm .html
AddHandler x-httpd-php .php .htm .html
<FilesMatch “\.(htm|html|php)$”>
SetHandler application/x-httpd-php5
</FilesMatch>
