I am using linux server and in my server I have install PHP 7.* version. I want to use PHP code in HTML file. Right now it render PHP code in in web page. I am using the following code in my .htaccess file but it not working.
AddHandler x-httpd-php .html .htm
and
AddHandler php7-script .php .html .htm
and
<FilesMatch "\.html?$">
SetHandler application/x-httpd-php7
</FilesMatch>
But all are these not working.