I'm using PhpStorm 2016 with php language level 5.6 and the interpeter is PHP 5(5.6.24) and xampp version 3.2.2 .
I'm trying to add some php code in html page,
I created a file .htaccess
in the same folder where my html file located, and put AddType application/x-httpd-php5 .html .htm
inside it, added <?php echo "example" ?>
but it doesn't show up.
I even tried <FilesMatch "\.html$">
ForceType application/x-httpd-php
</FilesMatch>
, AddHandler application/x-httpd-php5 .html .htm
and AddType application/x-httpd-php .html .htm
but nothing work, don't know what eles to do.
Hope you can help me with any idea.
Thank you.