我是 PHP 新手,遇到了这个真正的基本问题,我不确定如何解决。
我有一台带有 Ubuntu VM 的 64 位 Windows 笔记本电脑。我已经从 https://netbeans.org/downloads/index.html 为 linux 64 位安装了 netbeansIDE 8.2 .
我现在可以使用所有默认设置创建一个新的 PHP 项目。但是当我尝试运行它时,我在 netbeans 的输出控制台中收到此消息:
"/usr/bin/php" "-S" "localhost:8000"
Notice: File could not be loaded: localhost:8000
我怀疑这与我的项目的运行配置有关,如下所示
此外,当我尝试运行 php 应用程序时,这是 Firefox 上的输出。
但是互联网正在我的Firefox上运行。
这是我拥有的 Netbeans - 选项 - PHP 配置的一些屏幕截图:
有谁知道我怎样才能让它运行?
最佳答案
请更改您的项目网址 :
从 :
https://localhost/8000
至:
https://localhost:8000
关于php - 从我的 Linux VM 运行 PHP 应用程序时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42748521/