PHP is not a simple static page, it requires the support of the server. If you want to test it on this machine, you need to configure this machine as a server.
If you are a windows system, you can use wamp mode: windows+apache+mysql+php.
Only after installing and configuring these four things can you access and rectify them.