“Hello, World” in PHP displays nothing

后端 未结 6 1964
我寻月下人不归
我寻月下人不归 2020-12-07 03:21

I am new to PHP, just downloaded it, and wrote a \"Hello, World!\" program:


    

    

        
6条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-07 03:46

    Do you have a local server installed? PHP is a server-side scripting language, so it cannot just be run like a normal HTML file.

    Try watching the first few videos on the New Boston's PHP series. They show you simply how to download, install and use a local server to run your PHP on.

提交回复
热议问题