ubuntu下zendstudio10.6.1+xdebug安装

Xdebug下载:登录到官网向导页面 http://xdebug.org/wizard.php

把 phpinfo 函数产生的页面信息拷贝到分析输入框中,点击分析按钮,它会自动分析所需要下载的Xdebug版本文件

Tailored Installation Instructions

Summary

  • Xdebug installed: no
  • Server API: Apache 2.0 Handler
  • Windows: no
  • Zend Server: no
  • PHP Version: 5.5.9-1
  • Zend API nr: 220121212
  • PHP API nr: 20121212
  • Debug Build: no
  • Thread Safe Build: no
  • Configuration File Path: /etc/php5/apache2
  • Configuration File: /etc/php5/apache2/php.ini
  • Extensions directory: /usr/lib/php5/20121212

    Instructions

    1. Download xdebug-2.2.5.tgz
    2. Unpack the downloaded file with tar -xvzf xdebug-2.2.5.tgz
    3. Run: cd xdebug-2.2.5
    4. Run: phpize (See the FAQ if you don't have phpize.

      As part of its output it should show:

      Configuring for:
      ...
      Zend Module Api No:      20121212
      Zend Extension Api No:   220121212
      

      If it does not, you are using the wrong phpize. Please follow this FAQ entryand skip the next step.

    5. Run: ./configure
    6. Run: make
    7. Run: cp modules/xdebug.so /usr/lib/php5/20121212
    8. Edit /etc/php5/apache2/php.ini and add the line
      zend_extension = /usr/lib/php5/20121212/xdebug.so
    9. Restart the webserver
    再运行phpinfo()函数,若出现xdebug信息,表示xdebug安装成功

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值