I am using vim and snipMate, many times I need to name the HTML files to PHP, just because of 1 or 2 lines of code.
I every time I create a PHP file vim takes it as
You will need to make it two separate directives.
au BufRead *.php set ft=php.html au BufNewFile *.php set ft=php.html