The newer versions of the Linux distributions out there should have this handy utility called "rename". The syntax is as follows:
rename from to file
For example, to rename all the .html files in a directory to .php, type the following:
rename .html .php *.html
Type "man rename" for more detail.