• Eclipse下PHP开发 插件安装


    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

  • 相关阅读:
    Oracle面试题目及解答
    java -jar Incompatible argument to function
    plsql 查询到别的用户下面的表
    redis数据类型[string 、list 、 set 、sorted set 、hash]
    redis-cli 常用命令
    js判断浏览器,包括Edge浏览器
    HTMl5的sessionStorage和localStorage
    JS实现密码加密
    sprintf.js
    js-crc32
  • 原文地址:https://www.cnblogs.com/sandea/p/3669496.html
Copyright © 2020-2023  润新知