Renaming multiple files at one go

rename -v 's/\.php5$/.php/' *.php5

(the above command renames .php5 to .php in the present folder)