Zend Studio 9 中没有 PHP 函数类型等

发布于 2024-12-18 07:37:47 字数 224 浏览 4 评论 0原文

我计划迁移到 Zend Studio 9 并安装与版本 8 并行的试用版。 现在我加载了旧的工作区,而我的 Zend Framework 项目对 php 一无所知。

例如,如果我尝试扩展异常,它会说:“无法从接口异常扩展”。 或者“file_get_contents”以:“调用未定义的函数”结尾。

所以看起来没有加载 PHP 定义,但是我该如何改变它呢?在 Zend Studio 8 中它仍然有效。

I'm planning to move to Zend Studio 9 and installed the trial version parallel to my Version 8.
Now I loaded my old Workspace and my Zend Framework project didn't know anything about php.

For example if I try to extend an exception, it says: "Cannot extend from interface exception".
Or 'file_get_contents' ends in: 'Call of undefined function.

So it seems no PHP definitions are loaded but how can I change that? In the Zend Studio 8 it still works.

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

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

发布评论

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

评论(3

甜扑 2024-12-25 07:37:47

我做了同样的事情,将工作空间从 Zend Studios 8 转移到 Zend Studio 9。
它在 Ubuntu 上运行良好,但在 Windows 7 上不起作用...

无论如何,我强烈建议从一个新的工作区开始,而不是从 Zend Studios 8 引入旧设置。

I did the same, transfer workspace from Zend Studios 8 to Zend Studio 9.
It worked fine on Ubuntu but it did not work Windows 7...

Anyway I highly recommend to start with a fresh workspace, to not bring over old settings from Zend Studios 8.

大姐,你呐 2024-12-25 07:37:47

查看您的 .project 文件。有没有

<natures>
    <nature>org.eclipse.php.core.PHPNature</nature>
</natures>

专区啊如果没有添加它。

look into your .project file. Did you have a

<natures>
    <nature>org.eclipse.php.core.PHPNature</nature>
</natures>

section. If not add it.

风柔一江水 2024-12-25 07:37:47

尝试复制 Php 文件夹中的 ZendFramework Files 文件。也可以从 Zend Framework 的 Bin 文件夹复制 2 个文件 zf 批处理文件 & zf 脚本文件位于 php 文件夹中。并且还包括 php.ini 文件中的路径。

Try copying files of ZendFramework Files in Php folder.Also From Bin Folder of Zend Framework copy 2 Files zf batch files & zf script file in php folder.And Also include the path in php.ini file.

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