How do I run a file on localhost?

前端 未结 7 2122
Happy的楠姐
Happy的楠姐 2020-12-13 06:58

How do I actually run a file on localhost? I know it is working, but how do I run a file on it, and how do I verify that the file is in fact running on localhost?

7条回答
  •  轮回少年
    2020-12-13 07:02

    Looking at your other question I assume you are trying to run a php or asp file or something on your webserver and this is your first attempt in webdesign.

    Once you have installed php correctly (which you probably did when you got XAMPP) just place whatever file you want under your localhost (/www/var/html perhaps?) and it should run. You can check this of course at localhost/file.php in your browser.

提交回复
热议问题