用于Eclipse PDT的Zend Framework插件 [英] Zend Framework Plugin for Eclipse PDT

查看:75
本文介绍了用于Eclipse PDT的Zend Framework插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Eclipse PDT IDE版本1.2.0.我将它与Dojo一起使用,以开发非常有趣的Ajax应用程序.现在,我想在我的Eclipse IDE中启用Zend框架.我怎样才能做到这一点.谷歌搜索后,我尝试了以下方法.

1.)下载了Zend框架并解压缩到了我的C目录.2.)在我的php.ini文件中添加了以下路径

include_path =.; C:\ ZendFramework-1.10.5 \ library"

3.)在Apache的httpd.conf文件中更改了以下行以支持.htaccess文件

AllowOverride None to AllowOverride All

重新启动Apache一次,并进行了测试以查看是否有任何效果.我通过尝试创建一个新的PHP项目并查看项目文件的结构进行了测试.

问题是

1.)我如何将zend框架包含到一个已经存在的eclipse pdt ide中.

2.)是否有可以直接添加的插件,或者我可以使用eclipse的添加软件功能.如果是,我必须提供什么URL才能下载软件

3.)最后,如何测试以确保正确安装了zend框架

感谢您的帮助

我建议将ZF路径设置为您的IDE的库(首选项> PHP> PHP库>新建>添加外部文件夹).然后针对您的项目:在侧栏中的项目上的人民币>属性> PHP包含路径>添加库>用户库>选择您的库.

我在Zend上全职工作,这是迄今为止最好的方法;)(如果您不想为ZendStudio付费;)

I have eclipse PDT IDE version 1.2.0 installed. I have used it together with Dojo to develop very interesting Ajax applications. Now i want to enable the Zend framework within my eclipse IDE. How can i do this. After some googling, i have tried the following.

1.) downloaded the Zend framework and unzipped to my C directory. 2.) added the following path in my php.ini file

include_path = ".;C:\ZendFramework-1.10.5\library"

3.) changed the following line in the httpd.conf file in Apache to support .htaccess files

AllowOverride None to AllowOverride All

Restart Apache once and tested to see if this had any effect. I tested by trying to create a new PHP project and take a look at the structure of the project files.

The question is

1.) how can i include zend framework to an already existing eclipse pdt ide.

2.) is there a plugin that can be added directly or can i use the add software capabilities of eclipse. If yes, what URL do i have to supply for software download

3.) finally, how do i test to make sure that the zend framework has been properly installed

thanks for your help

解决方案

I suggest setting ZF path as library for your ide (Preferences > PHP > PHP Libraries > New > Add External Folder). And then for your project: RMB on project in sidebar > Properties > PHP Include Path > Add Library > User Library > select your library.

I develop full time in Zend and this way is the best so far ;) (if you don't want to pay for ZendStudio ;)

这篇关于用于Eclipse PDT的Zend Framework插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆