首页 技术 正文
技术 2022年11月15日
0 收藏 650 点赞 4,743 浏览 830 个字

在配置Xdebug时,之前经历了无数次失败,终于配置成功!

以下是配置失败的原因:

1、下载时,选用Xdebug的版本不正确;

2、配置时,Xdebug文件名或文件的路径不正确;

在参考 http://www.cnblogs.com/qiantuwuliang/archive/2011/01/23/1942382.html文章后,终于配置成功,具体步骤如下:

1、将本机的Php安装信息用Phpinfo()输出;

2、上述输出信息复制出来,粘贴到 Xdebug phpinfo信息分析地址,并点击提交按钮,等待分析结果;

3、以下是我机器的提交后的输出信息:

Summary

  • Xdebug installed: no
  • Server API: Apache 2.0 Handler
  • Windows: yes – Compiler: MS VC11 – Architecture: x86
  • Zend Server: no
  • PHP Version: 5.6.15
  • Zend API nr: 220131226
  • PHP API nr: 20131226
  • Debug Build: no
  • Thread Safe Build: yes
  • Configuration File Path: C:\Windows
  • Configuration File: C:\xampp\php\php.ini
  • Extensions directory: C:\xampp\php\ext

Instructions

  1. Download php_xdebug-2.4.0rc3-5.6-vc11.dll
  2. Move the downloaded file to C:\xampp\php\ext
  3. Edit C:\xampp\php\php.ini and add the line
    zend_extension = C:\xampp\php\ext\php_xdebug-2.4.0rc3-5.6-vc11.dll
  4. Restart the webserver

按照上述InStructions的步骤设置,Xdebug安装成功!

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,082
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,556
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,406
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,179
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,815
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,898