• php 安装xdebug扩展


    php 扩展获取地址 http://pecl.php.net/package/

    编译安装的过程

    wget http://pecl.php.net/get/xdebug-2.2.2.tgz
    tar -zxvf xdebug-2.2.2.tgz
    cd xdebug-2.2.2/
    /data/klj/php/bin/phpize
    ./configure --enable-xdebug --with-php-config=/data/klj/php/bin/php-config
    make
    make install

    修改php配置文件 配置xdebug端口和phpstrom一致

    zend_extension = "/data/klj/php/lib/php/extensions/no-debug-non-zts-20131226/xdebug.so"
    xdebug.remote_enable =1
    xdebug.remote_handler = "dbgp"
    xdebug.remote_host = "localhost"
    xdebug.remote_mode = "req"
    xdebug.remote_port = 9001
    xdebug.remote_connect_back=1
    xdebug.remote_autostart=1
    xdebug.idekey = PHPSTORM

    修改phpstrom配置

     

  • 相关阅读:
    画板
    多线程
    Runtime
    今日头条UI搭建
    支付宝UI界面搭建
    控制器的创建
    UIWindow简单介绍
    UIApplication
    UIPickerView的使用
    代理、通知、KVO
  • 原文地址:https://www.cnblogs.com/klj123wan/p/4167576.html
Copyright © 2020-2023  润新知