Need help with redirection of old php pages

I have a website that I have just made live (on a multisite) and the old site was made using php so all the old pages are ending php. Can you please advise how I can add a redirect to the .htaccess file to redirect any old page names ending in php to the home page?