Is it possible to rename the file extentions to other extensions then .php?
Yes, this is possible, you have to make sure however that also the links in the code are updated. Furthermore, you have to make sure that all pages are parsed by the PHP engine. Warning: this is not the case for .html on default configurations of a server. You have to make sure that the server treats those files as php files.