well if you dont want the actual codes and just want the pages to end in php, you can just rename the files from *.html to *.php. it will work perfectly. make sure to change the internal links too.
You have to have a php server (almost all are) but yeah, just change the extension to .php and it should work fine.