【问题标题】:Where are webgrind profiling files stored in Ubuntu 14.04?Ubuntu 14.04 中的 webgrind 分析文件存储在哪里?
【发布时间】:2016-01-18 16:24:31
【问题描述】:

我已经设置了 xdebug 和 webgrind,并生成了几个分析文件。那些生成的文件存放在哪里?

【问题讨论】:

    标签: php ubuntu profiling webgrind


    【解决方案1】:

    您可以设置 xdebug 在您活动的 php.ini 中保存分析活动的位置 (通常是 /etc/php5/apache2/php.ini)与

    xdebug.remote_connect_back=1
    xdebug.profiler_enable = 1
    xdebug.profiler_output_name = xdebug.out.%t
    xdebug.profiler_output_dir = /tmp
    xdebug.profiler_enable_trigger = 1
    

    同时设置文件名和文件夹(xdebug.out.%t/tmp) 保存php.ini后别忘了重启apache

    sudo service apache2 restart
    

    【讨论】:

      猜你喜欢
      • 2023-03-14
      • 2015-03-22
      • 1970-01-01
      • 2014-09-01
      • 2016-02-06
      • 1970-01-01
      • 1970-01-01
      • 2011-03-06
      • 1970-01-01
      相关资源
      最近更新 更多