您好,欢迎访问一九零五行业门户网

Eclipse的PHP插件PHPEclipse

phpeclipse是什么? phpeclipse是eclipse的一个插件,它为php开发人员提供了一个集成的开发环境。 phpeclipse这个插件包括的功能有:php语法分析,调试,代码格式化,大纲视图,代码模板定制等。 phpeclipse的官方网站是:http://www.phpeclipse.de/,http://www.
phpeclipse是什么?
phpeclipse是eclipse的一个插件,它为php开发人员提供了一个集成的开发环境。
phpeclipse这个插件包括的功能有:php语法分析,调试,代码格式化,大纲视图,代码模板定制等。
phpeclipse的官方网站是:http://www.phpeclipse.de/,http://www.phpeclipse.net/
安装该插件需要什么软件?
使用phpeclipse之前你必须安装一下软件:
1、eclipse3.x   downland:http://www.eclipse.org/downloads/
2、jdk5.0/更高版本
3、dbg php debugger matching the php version you are using
     downland:http://superb-west.dl.sourceforge.net/sourceforge/dbg2/dbg-2.15.5-win32.zip
4、eclipse web tools platform project 1.0.x
具体步骤:
下面就介绍下在以上都安装好了,怎么在eclipse下加入phpeclipse插件。
安装phpeclipse有三种办法:
1、update site,你可以使用eclipse的update site得到
2、直接从sourceforge下载zip文件
3、通过svn获得,这里就不说了,比较麻烦。
在这里只介绍第一种方法。
安装phpeclipse最简单的方法就是在eclipse中加入phpeclipse的update site,也就是第一种方法,:
如果你使用的是eclipse3.2,升级网址就是:http://update.phpeclipse.net/update/stable/1.1.x
如果是eclipse3.3/3.4,升级网址就是:http://update.phpeclipse.net/update/stable/1.2.x
具体操作:打开eclipse,在菜单工具栏选择:help-> software updates -> find and install
接下来选择:search for new features to install,点击next,下来点击:new  remote site
name: phpeclipse 1.2.x
url:http://update.phpeclipse.net/update/stable/1.2.x
点击ok。
然后在页面中选择phpeclipse1.2.x,点击finish。
等安装完毕后,你就可以创建你的php工程了。
下来将dbg php调试模块加入到eclipse当中:
    下载地址:http://superb-west.dl.sourceforge.net/sourceforge/dbg2/dbg-2.15.5-win32.zip
     解压dbg-2.15.5-win32.zip到临时目录后,更名x86子目录下的php_dbg.dll-5.x.x为php_dbg.dll, 拷贝至php安装目录下的ext扩展所在目录,然后修改php.ini, 加入扩展项, 并且新增debug配置段:
[debugger]debugger.enabled = truedebugger.profiler_enabled = truedebugger.jit_host = clienthostdebugger.jit_port = 7869
其它类似信息

推荐信息