【问题标题】:xDebug Profiling Failing & ErrorsxDebug 分析失败和错误
【发布时间】:2014-05-28 10:46:05
【问题描述】:

您好,我在 AWS 服务器上安装了 xDebug。以为我已经正确设置了它,我根本看不到任何输出。我希望将一个文件附加到我设置 profiler_output_directory 位置的位置。

这是 phpinfo() 必须要说的...

xdebug

xdebug 支持已启用 版本 2.2.5 IDE Key 没有值

支持的协议版本 DBGp - 通用调试器协议 $Revision: 1.145 $

指令局部值主值

xdebug.auto_trace Off Off

xdebug.cli_color 0 0

xdebug.collect_assignments 关 关

xdebug.collect_includes 开启 开启

xdebug.collect_params 0 0

xdebug.collect_return Off Off

xdebug.collect_vars Off Off

xdebug.coverage_enable 开启 开启

xdebug.default_enable 开启 开启

xdebug.dump.COOKIE 无价值无价值

xdebug.dump.ENV 无值无值

xdebug.dump.FILES 无值无值

xdebug.dump.GET no value no value

xdebug.dump.POST 无值无值

xdebug.dump.REQUEST 无值无值

xdebug.dump.SERVER 没有值没有值

xdebug.dump.SESSION 无值无值

xdebug.dump_globals 开启 开启

xdebug.dump_once On On

xdebug.dump_undefined Off Off

xdebug.extended_info 开启 开启

xdebug.file_link_format 无值无值

xdebug.idekey 无值无值

xdebug.max_nesting_level 100 100

xdebug.overload_var_dump On On

xdebug.profiler_aggregate Off Off

xdebug.profiler_append Off Off

xdebug.profiler_enable On On

xdebug.profiler_enable_trigger On On

xdebug.profiler_output_dir /home/ec2-user/xdebug_logs /home/ec2-user/xdebug_logs

xdebug.profiler_output_name cachegrind.out.%p cachegrind.out.%p

xdebug.remote_autostart Off Off

xdebug.remote_connect_back 关 关

xdebug.remote_cookie_expire_time 360​​0 3600

xdebug.remote_enable 关 关

xdebug.remote_handler dbgp dbgp

xdebug.remote_host localhost 本地主机

xdebug.remote_log no value no value

xdebug.remote_mode req req

xdebug.remote_port 9000 9000

xdebug.scream Off Off

xdebug.show_exception_trace Off Off

xdebug.show_local_vars Off Off

xdebug.show_mem_delta 关 关

xdebug.trace_enable_trigger Off Off

xdebug.trace_format 0 0

xdebug.trace_options 0 0

xdebug.trace_output_dir /tmp /tmp

xdebug.trace_output_name trace.%c trace.%c

xdebug.var_display_max_children 128 128

xdebug.var_display_max_data 512 512

xdebug.var_display_max_depth 3 3

这是 apache 的错误日志中的内容。

加载 /var/tmp/pear-build-rooth6C0Im/install-xdebug-2.2.5/usr/lib64/php/modules/xdebug.so 失败:/var/tmp/pear-build-rooth6C0Im/install-xdebug -2.2.5/usr/lib64/php/modules/xdebug.so:无法打开 sh$ 加载 xdebug.so 失败:xdebug.so:无法打开共享对象文件:没有这样的文件或目录

有没有人建议从这里去哪里?

【问题讨论】:

    标签: php profiling xdebug


    【解决方案1】:

    我通过确保 php.ini 中的所有路径都在引号中来解决这个问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2011-08-05
      • 2017-07-28
      • 1970-01-01
      • 1970-01-01
      • 2015-11-30
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多