`
zhtch_123
  • 浏览: 81167 次
  • 性别: Icon_minigender_1
  • 来自: 西安
社区版块
存档分类
最新评论

CentOS6.2 安装Xdebug

 
阅读更多
php调试环境安装
yum -y install php-devel

http://www.xdebug.org 下载xdebug-2.1.1.tar.gz
tar zxvf xdebug-2.1.1.tar.gz
cd xdebug-2.1.1
./configure --prefix=/usr/xdebug-2.1.1
在 /etc/php.ini中添加
[Xdebug]
zend_extension ="/usr/local/php5/xdebug/xdebug.so"
xdebug.profiler_enable=on
xdebug.trace_output_dir="/usr/local/php5/xdebug/"
xdebug.profiler_output_dir="/usr/local/php5/xdebug/"
xdebug.remote_enable=on       
xdebug.remote_handler=dbgp
xdebug.remote_host=localhostxdebug.remote_port=9999
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics