search

Home  >  Q&A  >  body text

Hello World appears on localhost

微信截图_20190715222419.png微信截图_20190715222447.png

PLUTOPLUTO1960 days ago1680

reply all(3)I'll reply

  • kanglecheng

    kanglecheng2019-07-19 14:48:44

    localhost/
    This will open index.php in the www directory index.html index.htm l.php

    localhost/Demo/
    This will open the Demo directory in your www index.php index.html index.htm l.php

    The above Zhejiang West is in the configuration file httpd.conf, you can ignore it for now

    localhost/Demo/test.php You can understand it by reading the test.php
    in the Demo under www!

    reply
    0
  • PLUTO

    I get it, thank!

    PLUTO · 2019-07-20 21:29:54
  • PLUTO

    PLUTO2019-07-15 22:38:13

    Create the php file and the path is set, but localhost opens the inde file under the www folder by default. I don’t understand it very well. How should I do it?

    reply
    0
  • Cancelreply