Zend Studio配置Xdebug

按照网上的教程一直没有配置好,上官网看到一句话, If you don‘t know which one you need, please refer to the custom installation instructions.

如果你不知道选择哪一个版本,参考相关说明

Tailored Installation Instructions

This page helps you finding which file to download, and how to configure PHP to get Xdebug running. Please paste the full output of phpinfo() (either a copy & paste of the HTML version, the HTML source or php -i output) and submit the form to receive tailored download and installation instructions. Do not paste the raw HTML (from view-source) into the form.

就是将本机 phpinfo()的源码拷贝到 Form框里,点提交,会自动分析你本地安装情况

我的是:

Summary

  • Xdebug installed: no
  • Server API: Apache 2.0 Handler
  • Windows: yes - Compiler: MS VC9 - Architecture: x86
  • Zend Server: no
  • PHP Version: 5.4.29
  • Zend API nr: 220100525
  • PHP API nr: 20100525
  • Debug Build: no
  • Thread Safe Build: yes
  • Configuration File Path: unknown
  • Configuration File: unknown
  • Extensions directory: C:\php

Instructions

  1. Download php_xdebug-2.2.5-5.4-vc9.dll
  2. Move the downloaded file to C:\php
  3. Create php.ini in the same folder as where php.exe is and add the line
    zend_extension = C:\php\php_xdebug-2.2.5-5.4-vc9.dll
  4. Restart the webserver

If you like Xdebug, and thinks it saves you time and money, please have a look at the donation page.

奇怪的是,我本机PHP是解压到D:\php 目录下的怎么会跑到C盘,最终百度,需要将php.ini下的 extension dir改成 ext实际上就是把 ;去掉即可

光这样还不行,还要把php.ini复制到C:\Windows下面才可以  phpinfo()就看到Xdebug了

Zend Studio配置Xdebug

时间: 2024-08-24 02:05:13

Zend Studio配置Xdebug的相关文章

zend studio结合xdebug、xdebug-help(chrome插件)调试PHP程序

zend studio结合xdebug.xdebug-help(chrome插件)调试PHP程序 一.原料: zend studio (我用的是11.0.2) xdebug(版本要与服务器的PHP环境一致) xdebug-helper(chrome插件,chrome插件扩展已封,可以到网上下载离线版,然后安装) 二.安装: 2.1.安装xdebug 1).找到与PHP环境对应的xdebug组件,然后放置到ext目录下 2).修改php.ini文件. 修改范例: 注意:具体的PHP环境.插件位置等

Zend Studio集成Xdebug断点调试详解

转自:http://www.softown.cn/post/115.html Xdebug是PHP开发中两个常用的断点调试工具之一(另一个为Zend Debugger). 现在,我们在Zend Studio中集成PHP的Xdebug模块,从而在Zend Studio中实现断点调试功能. 1.下载.安装.配置Xdebug 关于如何在PHP中安装.配置Xdebug模块,请直接参考文章PHP安装配置Xdebug模块详解. 2.Xdebug远程连接配置 想要在Zend Studio中使用Xdebug,就

Zend Studio配合Xdebug调试

以下配置均在windows环境下. 1.下载xdebug 使用phpinfo()查看当前php的版本信息: 到xdebug下载页面下载对应的xdebug版本:   将解压出的php_xdebug-2.1.2-5.3-vc6.dll文件重命名为php_xdebug.dll后放入php下的ext目录里. 2.在php.ini文件中加入以下内容: ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 zend_extension="D:/wamp/php/ext/php_xdeb

记录下zend studio 的xdebug 在调试安装

没有单步调试 看不到变量的变化过程,是没法提高DEBUG效率的.折腾了好久终于把xdebug+zendstudio搞定了.虽然网上有教程,但实践起来 还是碰到了些问题,在此记录下. 1,安装zend stuido 这里就不说这个了,必须的 2,安装phpstudy 主要是要安装php,apahce.没有本地服务器,怎么能调试呢. 3,xdebug 安装 在这里,我根据网上很多教程去下载了xdebug.但其实不需要,你装好了phpstudy就已经默认有了xdebug.dll.为什么不建议去网上再下

Zend Studio 配置SVN并导入SVN项目

php 开发过程中,一个项目比较大的话,就需要很多人共同来完成.那么怎样来管理之间的相互配合,分工等呢??那么SVN这个神器就有用处了.SVN:代码版本管理软件.更多svn详细信息请查阅相关文档,这里就不详细介绍了. 工具/原料  Zend Studio9开发工具 update_1.8.x插件  如果没有zendstudio工具,参考http://jingyan.baidu.com/article/c275f6bac3502de33d7567a2.html  svn插件地址:http://sub

Zend Studio 12.0 配置XDebug

之前也配过zend studio 不知为何 最新版本到zend studio12.0怎么配都有问题! 废话不多说了~直接进重点!zend studio配置xdebug到文章很多!但是不知道是不是版本问题还是什么原因~zend studio12.跟着网上到文章配都最后都发现不成功.如: http://www.cppblog.com/ljfpudding/archive/2013/12/25/205008.aspx 其它到文章都是大同小易! 最后发现所有文章到有一步配置都是这样配置~ 问题就是在这里

zend studio xdebug配置详解

安装xdebug扩展 zend studio配置 点击xdebug出现一下对话框

XAMPP + Xdebug+Zend Studio

建立php开发环境(XAMPP + Xdebug+Zend Studio) 大家知道,运行php可以在apache上运行,但是要在apache上配置php解释器模块,懒得麻烦.就用XAMPP吧,它已经给你把apache与php解释器集成好了.但是,我还想在eclipse里调试php程序,那就用Zend Studio吧.调试工具用Xdebug(试过Zend Debuger断点断不住,后来在网上看的一贴子说是Zend现在主推它自己的Zend Server,所以只有not thread safe的Ze

建立php开发环境(XAMPP + Xdebug+Zend Studio)

1. 安装XAMPP和Zend Studio Zend Studio下载地址: http://pan.baidu.com/s/1o6BjvAE XAMPP 下载地址: http://pan.baidu.com/s/1ntkNcEX 正常安装即可. 2. 配置Xdebug 在XAMPP的安装目录下,查找php文件夹,编辑php/php.ini文件.找到[XDebug],并编辑内容如下: [XDebug] zend_extension = "D:\xampp\php\ext\php_xdebug.d