Ubuntu上安装xdebug

1>下载xdebug
      http://xdebug.org/download.php

2>解压 tar -zxvf xdebug-2.0.5.tgz

3>安装

  cd xdebug-2.0.5

      phpize        (用来扩展php模块,通过phpize可以建立php的扩增模块,ubuntu用户可以sudo apt-get install php5-dev安装)

      ./configure --enable-xdebug

      make

  make install

4>修改php.ini,加入一句zend_extension="wherever/you/put/it/xdebug.so"

大功告成

posted @ 2010-06-29 17:13  滴水石穿  阅读(171)  评论(0编辑  收藏  举报