从我的Linux VM运行PHP应用程序出错

时间:2017-03-12 14:20:49

标签: php ubuntu virtual-machine netbeans-8.2

我是PHP的新手,有这个真正的基本问题,我不知道如何解决。

我有一台带有Ubuntu VM的64位Windows笔记本电脑。我从https://netbeans.org/downloads/index.html安装了netbeansIDE 8.2 for linux 64 bit。

我现在可以使用所有默认设置创建一个新的PHP项目。但是当我尝试运行它时,我在netbeans的输出控制台中收到了这条消息:

  

“/ usr / bin / php”“ - S”“localhost:8000”

     

注意:无法加载文件:localhost:8000

我怀疑它与我项目的运行配置有关,如下所示 enter image description here

此外,当我尝试运行php应用程序时,这是Firefox上的输出。 enter image description here

但互联网正在开发我的Firefox。

以下是Netbeans的一些截图 - 选项 - 我的PHP配置: enter image description here enter image description here 有谁知道我怎么能让它运行?

1 个答案:

答案 0 :(得分:1)

请更改项目网址

来自:

https://localhost/8000

要:

https://localhost:8000
相关问题