search

Home  >  Q&A  >  body text

Self-study, I just failed to compile helloworld

QQ浏览器截图20210412115309.pngQQ浏览器截图20210412115328.png

What is the problem? Is it related to nginx? I saved it with sublime text3 and opened it directly on the server with a browser

陆湘旭陆湘旭1370 days ago1458

reply all(4)I'll reply

  • 天蓬老师

    天蓬老师2021-04-13 08:25:20

    It needs to be plugged in the server environment, that is, the http/https protocol. You are under the local file://, of course it will not work

    reply
    0
  • 陆湘旭

    thanks thanks

    陆湘旭 · 2021-04-13 10:35:28
  • phpstudyup

    phpstudyup2021-04-13 06:22:17

    Change the file name to index.php There is also

    reply
    0
  • Pluto.

    Pluto.2021-04-12 16:11:32

    Change the suffix to .php

    reply
    0
  • Cancelreply