Ubuntu下netbeans-xdebug配置

本文档详细介绍了如何在Ubuntu操作系统中配置NetBeans集成开发环境与Xdebug进行PHP调试。首先,你可以访问http://xdebug.org/wizard.php进行配置检查。如果在执行'./configure'步骤时遇到错误,作者分享了其遇到的问题和解决过程。
摘要由CSDN通过智能技术生成
1. Copy你的所有的phpinfo()信息到这个网站中间的空白页处:

http://xdebug.org/wizard.php


2.得到分析结果,如:
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

Download xdebug-2.2.6.tgz
Unpack the downloaded file with tar -xvzf xdebug-2.2.6.tgz
Run: cd xdebug-2.2.6
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:   2
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值