Studio Web Debugger安装配置

官方组件下载地址:下载地址: http://www.zend.com/en/products/studio/downloads

在下载解压后的文件夹中README.txt 文件解释的很好,我们通篇中英对照一下,便自然理解:

Zend Debugger installation instructions

---------------------------------------

 

1. Extract the Zend Debugger package.( 让我们解压出文件 )

 

2. Locate the ZendDebugger.so (Unix) orZendDebugger.dll (Windows) file in the directory which

   corresponds to your version of PHP (4.3.x, 4.4.x, 5.0.x, 5.1.x,5.2.x,5.3.x).

(找到相关的 ZendDebugger PHP 版本对应的 dll 文件)

 

3. Add the following line to your php.inifile:

   Linux and Mac OS X:      zend_extension=<full_path_to_ZendDebugger.so>

   Windows:                 zend_extension_ts=<full_path_to_ZendDebugger.dll>

   Windows non-thread safe:zend_extension=<full_path_to_ZendDebugger.dll>

     (选择 Windows 那一项,如当前我写的是: zend_extension_ts="D:/ZendDebugger/5_2_x_comp/ZendDebugger.dll"

4. Add the following lines to your php.inifile:

   zend_debugger.allow_hosts=<host_ip_addresses> 

   zend_debugger.expose_remotely=always 

 

   (*) hopst_ip_addresses are the IPs of the hosts which will be allowed toinitiate debug sessions

 

( 确定调试 IP 和权限,当前我写的是:

zend_debugger.allow_hosts="127.0.0.1"

zend_debugger.expose_remotely=always    )

 

5. Copy the dummy.php file to your documentroot directory.

( 复制 dummy.php 到被调试站点的根目录 )

 

6. Restart your Web server.

 

经过上面的配置,我们使用 phpinfo() 可以看到配置成功的效果:


(1) The PHP version (PHP CLI - PHP Version=> 5.2.10).

(2) The location of the php.ini file (PHPCLI - Loaded Configuration File => C:/Program Files/PHP/php.ini).

(3) The Thread Safety flag (PHP CLI -Thread Safety => enabled).

(!) Note if you use the Zend ExtensionManager (PHP CLI - with Zend Extension Manager v1.2.0,Copyright (c) 2003-2007, by Zend Technologies). The Zend Extension Manager canbe installed as part of the Zend Optimizer installation.( 最后这一条,只有在配置 ZendManager 成功的情况下,才会出现。 )

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值