【发布时间】:2014-04-15 21:11:47
【问题描述】:
Looking to profile my web app, I have added the following settings to my Applications php.ini file:
zend_extension = "C:\hqp\xampp_1.7.4\php\ext\php_xdebug.dll"
xdebug.profiler_append = 0
xdebug.profiler_enable = 1
xdebug.profiler_output_dir = "c:\hqp\xampp_1.7.4\tmp\profiles"
xdebug.profiler_output_name = "cachegrind.out.%s"
xdebug.profiler_enable_trigger = 1
在 httpd.conf 文件中,使用 php 值 auto_prepend 对文件进行 auto_prepend。生成的cachegrind.out.* 文件带有此文件的名称(xdebug.profiler_output_name 中的 %s 修饰符)而不是我实际要分析的文件(例如 index.php 文件没有对应的 cachegrind.out.filepath_index.php)
知道我在这里缺少什么吗?
【问题讨论】:
-
在 debian 系统上看到与 2.2.1 和 PHP 5.4.4 版本相同的问题
-
我搬到了 XHProf 顺便说一句...好多了
-
那又怎样?我这里也有同样的问题...
标签: php profiling xdebug xdebug-profiler