得到“未找到”使用 NetBeans 运行ngin zend框架项目时出错

发布于 2024-09-14 15:01:46 字数 331 浏览 2 评论 0原文

我按照 http://netbeans.org/kb/docs/ 上的教程进行操作php/zend-framework-screencast.html,但每当我尝试运行该项目时,都会出现未找到错误。

当我在创建项目时选中“将文件从源文件夹复制到另一个位置”框并输入 Apache2/htdocs 的路径时,它工作正常。我只是好奇为什么我需要这样做?为什么run命令不能自动将项目部署到服务器上?

有什么想法吗?

I followed tutorial on http://netbeans.org/kb/docs/php/zend-framework-screencast.html, but I am getting not found error whenever I try to run the project.

When I check the box "Copy files from Sources Folder to another location" while creating project and enter path to Apache2/htdocs, it works fine. I am just curious why I need to do that ? why can't the run command automatically deploy the project on the server ?

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

少女的英雄梦 2024-09-21 15:01:46

我不确定你在做什么,但你必须从 htdocs 运行你的项目。因此,如果您将网站放在其他地方(例如我的文档),它将无法工作。

另请参阅此处了解有关默认值的信息项目文件夹。

I am not sure what you are doing but you must run your projects from htdocs. So if you put your site somewhere else like my documents it will not work.

Also see here for information about the default folder for projects.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文