This depends on how your server is set up, but your PHP web pages usually need to end in the extension “php”. This lets the server know that it needs to hand this page off to the “php” module before letting the visitor see the web page.
The choice of extension is completely up to whoever sets up your server. While it will usually be “php”, it can be anything. Contact your system administrators to be sure.