一直使用notepad++的,但是他没有文件类似EditPlus的资源管理器,可以装一个light explorer(或者是 explorer) 方便多了……
1.
最近看的书上推荐了eclipse 反正机子上有就弄了下
已经有eclipse了就使用插件的方式,http://sourceforge.net/project/showfiles.php?group_id=57621
官网有专门的版本的,没装的建议还是直接下整合好的:
http://www.eclipse.org/downloads/packages/eclipse-php-developers/heliosr
http://archive.eclipse.org/technology/epp/downloads/release/helios/R/eclipse-php-helios-win32-x86_64.zip
或者使用zend的工具
Zend Eclipse PDT Zend Studio
百度了一下 众多update site都无法访问了
http://phpeclipse.sourceforge.net/update/cvs
http://phpeclipse.sourceforge.net/update/releases
phpeclipse.net
百度的官网半天打不开
网盘下载 http://pan.baidu.com/s/1tdaF4 这是别人传到网盘的
http://download.eclipse.org/tools/pdt/updates/3.2/release/
2.安装xdebug
下载地址
http://xdebug.org/
下面是官方文档里的 重点 php5.3以后使用zend_extension来配置
Configure PHP to Use Xdebug
add the following line to php.ini: zend_extension=”/wherever/you/put/it/xdebug.so” (for non-threaded use of PHP, for example the CLI, CGI or Apache 1.3 module) or: zend_extension_ts=”/wherever/you/put/it/xdebug.so” (for threaded usage of PHP, for example the Apache 2 work MPM or the the ISAPI module). Note: In case you compiled PHP yourself and used –enable-debug you would have to use zend_extension_debug=. From PHP 5.3 onwards, you always need to use the zend_extension PHP.ini setting name, and not zend_extension_ts, nor zend_extension_debug. However, your compile options (ZTS/normal build; debug/non-debug) still need to match with what PHP is using.
[caption width=”703” align=”alignnone”] Xdebug[/caption]
php.ini中配置如下:
- [xdebug]
- zend_extension=“D:\web\ext\php_xdebug-2.2.3-5.5-vc11-nts-x86_64.dll”
- ;开启自动跟踪
- xdebug.auto_trace = On
- ;开启异常跟踪
- xdebug.show_exception_trace = On
- ;开启远程调试自动启动
- xdebug.remote_autostart = On
- ;开启远程调试
- xdebug.remote_enable = On
- ;收集变量
- xdebug.collect_vars = On
- ;收集返回值
- xdebug.collect_return = On
- ;收集参数
- xdebug.collect_params = On
[caption width=”525” align=”alignnone”] 给跪了,还是用notepad++方便点[/caption]
建议还是直接去下zend studio,百度也有个专门为BAE开发的eclipse。