Eclipse下PHP开发 插件安装
2014-04-16 21:22
393 查看
PHPeclipse是什么?
PHPeclipse是Eclipse的一个插件,它为php开发人员提供了一个集成的开发环境。Eclipse官方下载地址:http://www.eclipse.org/
PHPeclipse这个插件包括的功能有:PHP语法分析,调试,代码格式化,大纲视图,代码模板定制等。
PHPEclipse的官方网站是:http://www.phpeclipse.de/,http://www.phpeclipse.net/,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工程了。
建好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
PHPeclipse是Eclipse的一个插件,它为php开发人员提供了一个集成的开发环境。Eclipse官方下载地址:http://www.eclipse.org/
PHPeclipse这个插件包括的功能有:PHP语法分析,调试,代码格式化,大纲视图,代码模板定制等。
PHPEclipse的官方网站是:http://www.phpeclipse.de/,http://www.phpeclipse.net/,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工程了。
建好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
相关文章推荐
- eclipse 安装php插件及配置xampp集成环境开发php项目
- 如何在Eclipse中安装PDT插件来开发PHP
- [转]Eclipse下PHP开发 插件安装
- 在Eclipse中集成PHP开发环境或安装PDT插件
- 在eclipse中安装PHPEclipse插件,配置php开发环境
- zendstudio/eclipse for php安装jquery提示插件 spket
- Eclipse安装Git插件以及通过Git导入华为软件开发云项目
- 开发PHP扩展CDT插件安装
- 【Eclipse提高开发速度-插件篇】安装VJET插件,JS等提示开发插件
- SVN最新可视化版本库安装和Eclipse中使用SVN插件进行团队开发
- eclipse下搭建shell脚本编辑器--安装开发shell的eclipse插件shelled
- 安装Eclipse3.2,配置Tomcat,lomboz,PHP,JS插件
- 在 Eclipse 上开发 Python – PyDev 插件安装教程
- 离线安装Eclipse的Android ADT开发插件
- Eclipse开发环境配置,打磨Eclipse,安装插件(适用3.4,3.5,3.6,3.7)
- Spring(一):eclipse上安装spring开发插件&下载Spring开发包
- PHP开发调试插件xdebug安装与配置
- 为Eclipse安装安卓开发插件ADT
- SVN最新可视化版本库安装和Eclipse中使用SVN插件进行团队开发
- eclipse无法安装spring插件,安装spring插件后windows-preferences没有spring选项,java开发所需工具类集合,eclipse+spring插件+tomcat,