title: How to force Intellij IDEA resolve HTML file as PHP file
body: <p>I've PHP project, so till now I've been using Intellij IDEA for both Java and PHP without any problem. But now, I've an old PHP project, the project uses HTML files as a PHP files. I mean files with HTML extensions contain PHP code. </p>
  
  <p>However IDEA doesn't recognize them as a PHP file, but when I change extension to PHP it shows everything is fine. </p>
  
  <p>So how can I force IDEA to accept HTML files as PHP files?</p>
  
  <p>Is there any workaround ?</p>