Not clear what have you done. Is your HTTP server installed started and was configured properly? Is PHP installed and the server properly configured to use it. *.php file names? PHP.INI?
The location of PHP files served by HTTP is no different from HTML and other files. All the directory structure is computed relative to the Web site root directory in terms of the server-side file system space, and domain name in terms of URL space. Assuming your root directory of the Web site is "
", it gives:
http://localhost/phpfile.php <--> c:/MyWebSites/MyWebSite/phpfile.php
http://localhost/some-sub-directory/phpfile.php <--> c:/MyWebSites/MyWebSite/some-sub-directory/phpfile.php