PHP syntax highlighting in .html file not working...

So I have 2.1.5 installed on win 7 64 and the syntax/contextual awareness of php within a .html file does not seem to be working. There is no highlighting and comments are html comments instead of php ones.

Please help.


Settings|File types.

Move .html from HTML to PHP.


This seems like a hokey implementation for a PHP IDE to not recognize when php is instantiated within a file. It's going to be pretty common for developers to have this come up. For now it works though.


Please sign in to leave a comment.