So, this might sound like a stupid question but does it only work for .php files?

What I'm saying is, do I have to change my existing .shtml / .html files to .php?