I have added php code in html file and run this file as .html extension. For this technique i have added below code in .htaccess file.
AddType application/x-httpd-php .html .htm
This whole folder is sub directory of wordpress project folder.When i am run this file in server, pop-up comes and my code file is opens in popup and it will give option to download. where i can see the whole code. What should i do to prevent to pop up box for download and run php code in html file and open as .html extension.
Can anyone help me what should i do?