Web Analytics Made Easy -
StatCounter XDEBUG_PROFILE will not start profiler - CodingForum

Announcement

Collapse
No announcement yet.

XDEBUG_PROFILE will not start profiler

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • XDEBUG_PROFILE will not start profiler

    I cannot get XDEBUG_PROFILE=1 to trigger the profiler when I use it in a URL. It never generates the cachegrind output. I have tried this on Linux running Apache 2.2.11 and PHP 5.2.8 with Xdebug 2.0.4, and neither obeys the XDEBUG_PROFILE argument. It works on my Windows XP test server but not on our main live server.

    Here is my configuration in php.ini:
    PHP Code:
    zend_extension=/usr/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so
    xdebug
    .profiler_enable 0
    xdebug
    .profiler_append 1
    xdebug
    .profiler_enable_trigger 1
    xdebug
    .profiler_output_dir "/tmp/xdebug_profiler_output/"
    xdebug.profiler_output_name "cachegrind.out.%s" 
    I have run phpinfo() to be certain Xdebug is configured and running. I have tried getting rid of any .htaccess rewrites, just using the standard URL, but doesn't help either. Permissions on the dir are 777.

    Any idea what I am doing wrong?
    Last edited by bauhsoj; Apr 3, 2009, 11:23 AM.

  • #2
    Correction, although phpinfo() shows it as loaded, Xdebug does not work at all.

    Comment

    Working...
    X