Open the file and change the language in the menu. TM should remember this new association, and treat .php as html or xhtml or whatever you select in the future. In the main menu, I think, there is a 'File associations' item or similar, displaying currently memoized extensions.-- Sune.