install the Zend Debugger V5.2 for ubuntu9.0.4 Desktop

9 篇文章 0 订阅
2 篇文章 0 订阅

first download the Zend Debugger V5.2 from http://download.csdn.net/source/1712979 or  zend web site.
below is the readme content of the Zend Debugger:
1. Extract the Zend Debugger package.
2. Locate the ZendDebugger.so (Unix) or ZendDebugger.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).
2. Add the following line to your php.ini file:
   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>
 3. Add the following lines to your php.ini file:
   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 to initiate debug sessions
4. Copy the dummy.php file to your document root directory.
5. Restart your Web server.
 
for example for my ubuntu9.04 Desktop:
if you don't install LAMP, please refer to my last blog:
http://blog.csdn.net/dragonfly12/archive/2009/10/02/4627986.aspx

List the folder content of  ~/Desktop/ZendDebugger-v5.2-linux-glibc23-i386:
root@xjl-desktop:~/Desktop/ZendDebugger-v5.2-linux-glibc23-i386# ls
4_3_x_comp  5_0_x_comp  5_2_x_comp  dummy.php      md5
4_4_x_comp  5_1_x_comp  5_3_x_comp  Inventory.xml  README

Due to using PHP/5.2.6-3ubuntu4.2 I select the 5_2_x_comp/ZendDebugger.so file to copy it to the  /usr/local/Zend directory where I place Zend programming environment.
Then add the following lines to your php.ini file which is in the /etc/php5/apache2/php.ini:
 zend_extension=/usr/local/Zend/ZendDebugger.so
 zend_debugger.allow_hosts=127.0.0.1
 zend_debugger.expose_remotely=always


Copy the dummy.php file to the directory /var/www.
5. Restart your Web server apache:
root@xjl-desktop:~#sudo /etc/init.d/apache2 restart

test:
input <?php echo phpinfo(); ?> into index.php in the /var/www and input http://127.0.0.1/index.php in the browser.

if there has

like the above image, installation is ok.
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值