search

Home  >  Q&A  >  body text

Weird issues with PHP server environment and domain name settings!

I strictly followed the video tutorial on the PHP Chinese website, why is it different!

小Q截图-20180705140859.png

Add a new domain name and bind it to the DEMO folder and save the generation, then restart the server, then open the host to add the resolved domain name and save it, then restart the server.

小Q截图-20180705140911.png

But why does this appear after setting it up? What is the reason!

小生我怕怕啊小生我怕怕啊2412 days ago1469

reply all(5)I'll reply

  • 无忌哥哥

    无忌哥哥2018-07-05 14:18:20

    Why did your port become 90? Try changing it to 80.

    reply
    1
  • 小生我怕怕啊

    After changing to port 80, go in and display: Parse error: syntax error, unexpected '""' (T_CONSTANT_ENCAPSED_STRING) in D:\CodeTool\myphp_www\PHPTutorial\WWW\demo\index.php on line 2

    小生我怕怕啊 · 2018-07-05 14:22:07
    小生我怕怕啊

    Parse error: syntax error, unexpected '"Hello world!"' (T_CONSTANT_ENCAPSED_STRING) in D:\CodeTool\myphp_www\PHPTutorial\WWW\demo\index.php on line 2 Show this!

    小生我怕怕啊 · 2018-07-05 14:24:52
    代码输入中...

    What does the code show? The syntax of the report is wrong.

    代码输入中... · 2018-07-05 16:09:12
    无忌哥哥

    The syntax is wrong. Semicolon is missing.

    无忌哥哥 · 2018-07-05 17:30:18
    小生我怕怕啊

    Problem solved, thank you very much!

    小生我怕怕啊 · 2018-07-05 19:18:07
  • Cancelreply