zoukankan      html  css  js  c++  java
  • 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:phpphp_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了

  • 相关阅读:
    JavaScript表单验证年龄
    PHP会话处理相关函数介绍
    SpringCloud(第一天)
    springboot加强
    SpringBoot的第一个demo
    ElasticSearch(分布式全文搜索引擎)
    Redis集群
    NoSql和Redis
    ElementUI实现CRUD(修改前端页面),前后台解决跨域问题
    SSM+ElementUI综合练习和Swagger和postman的使用(第二天)
  • 原文地址:https://www.cnblogs.com/niuge/p/3791879.html
Copyright © 2011-2022 走看看