I'm currently learning PHP, so I'm not a master :P
The reason is PHP files first need be processed in a web server before sending their output to the web browser.
As far as I know before running PHP files, they should be placed inside the web folder of a web server and then make a request to...