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.*
文件带有这个文件的名称(%s 修饰符xdebug.profiler_output_name
),而不是我实际要分析的文件(例如 index.php 文件没有对应的cachegrind.out.filepath_index.php
)
知道我在这里缺少什么吗?