Home  >  Q&A  >  body text

There are only the words hello world under localhost

There are only the words hello world under localhost, and the www file is in a path such as D:\phpStudy\PHPTutorial\WWW

馮馮翊翊馮馮翊翊2399 days ago2262

reply all(6)I'll reply

  • PLUTO

    PLUTO2019-07-15 22:18:08

    微信截图_20190715222447.png

    reply
    0
  • PLUTO

    This is what I wrote, but localhost displays helloworld

    PLUTO · 2019-07-15 22:19:23
  • Don't cry

    Don't cry2018-02-27 18:08:30

    You didn’t describe your question clearly. This is the root directory. You can understand it by looking at the content.

    reply
    0
  • Day

    Day2018-02-27 15:59:37

    The default is to access the inde.php file in the www directory. You can modify it yourself. If the test access can be displayed, there will be no problems, which means the environment is set up!

    reply
    0
  • PLUTO

    I also have this problem, how to solve it? The path is not wrong, it just displays helloworld directly.

    PLUTO · 2019-07-15 22:07:36
  • 雕花笼

    雕花笼2018-02-27 13:18:45

    Can you post a picture? By default, localhost accesses files under www. Are you sure your apache/nginx settings are correct?


    reply
    0
  • Cancelreply