zend debugger 的配置安装

 

软件需求:xampp

1. 下载zendstudio5.5版

 

 

2. 下载ZendDebugger插件

 

 

3. c:/windows/system32下面需要新增加4个dll

    zlib1.dll,libssl32.dll, libeay32.dll, ssleay32.dll

现已提供下载地址:/Files/tianxin2001x/all_dll.rar

 

 

4. ZendDebugger配置过程

1. 把 ZendDebugger.so 或者ZendDebugger.dll 放在合适的路径下

一般放在c:/xampp/php/ext 专门的库文件夹里面

2. 在php.ini 文件中根据操作系统的不同增加以下内容:

   Linux and Mac OS X:    zend_extension=/full/path/to/ZendDebugger.so

   Windows:            zend_extension_ts=/full/path/to/ZendDebugger.dll

例如zend_extension_ts="E:/xampp/php/ext/ZendDebugger.dll"

3. 在php.ini 文件中增加以下两行内容(php.ini在E:/xampp/apache/bin文件夹中):

   zend_debugger.allow_hosts=<ip_addresses>

   zend_debugger.expose_remotely=always

例如zend_debugger.allow_hosts=127.0.0.1

zend_debugger.expose_remotely=always

4. dummy.php放在项目的根目录下.

 

 

5. 重启webserver.

5.zendstudio也有几处地方需要配置:

工具 -> 首选项 -> 调试 ->  调试方法:服务器

                           Debug Server Url: http:// localhost

工具 -> 首选项 -> 桌面项 -> Browser Configuration 可以不使用内部的浏览器 推荐使用火狐

 

 

6.测试zend debug是否设置成功

调试 -> 检查Debug Server连接 

成功代表配置成功,以后使用zendstudio就支持断点调试功能了,而且功能非常强大!

你可能感兴趣的:(zend debugger 的配置安装)