Home  >  Q&A  >  body text

Why does Hello World appear on localhost?

In the video, phpStudy 2016 is used. When he opens the web page, what appears is 新建位图图像1.jpg

. I am using phpStudy2018新建位图图像.jpg

.
wjsgxpwjsgxp2295 days ago2443

reply all(4)I'll reply

  • (๑• . •๑)

    (๑• . •๑)2018-08-02 18:51:10

    For apache, just add '+' in front of the Index in httpd.conf. For nginx, turn on autoindex

    reply
    0
  • wjsgxp

    wjsgxp2018-07-31 17:23:52

    In the video, the www folder is under the phpStudy folder and mine is under phpStudy and under phptutorian Why when I open http://localhost/, the output is hello wrod. Please tell me if you know. Thank you. I just learned this and don’t understand anything.

    reply
    0
  • 彷徨

    For example, if you install it in the directory C:\myphp_www\PHPTutorial\WWW, there will be an index.php file. This file is opened by default.

    彷徨 · 2018-08-01 09:14:56
    PLUTO

    So how should it be changed? I also have this problem

    PLUTO · 2019-07-15 22:28:11
  • Cancelreply