Closed (won't fix)
Project:
Devel
Version:
8.x-1.x-dev
Component:
drush
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Dec 2013 at 23:40 UTC
Updated:
7 Jul 2014 at 23:57 UTC
Jump to comment: Most recent
Comments
Comment #1
th3m1773n commentedSame exact problem with Drupal 7.24, PHP 5.4, Apache 2.2.2, Debian Wheezy
Everything seems to be working fine, the extension is registered with PHP, and enabled in Drupal.
All drush runs are registered in XHProf, and available at the standard xhprof_html URL. This excludes the prospect of a faulty XHProf source, permission issues or misconfigured Devel settings.
However, no standard page runs (on the site itself) are actually saved in the runs folder, or available at the standard URL.
Comment #2
moshe weitzman commentedI really want to rip out xhprof support from devel and point folks to xhprof module. please post back here if you have more success there (or failure).
Comment #3
joelpittetThis is working as advertised here. I've got a suspicion that maybe the command line's PHP is not the same as MAMP, the MAMP xhprof extention is working but the command line isn't.
Try
php -i | grep xhprofto see if first xhprof is installed in the command line version.And second check that they are using the same PHP(which usually they aren't with MAMP because you can switch in MAMP).
php -vandwhich phporphp -i | grep php.inishould help determine that with a comparison to the status report page's php. @/admin/reports/status/phpComment #4
moshe weitzman commentedComment #5
moshe weitzman commentedxhprof is no longer in devel 7 or 8
Comment #6
basvredelingRan into this same issue. To solve it, I had to find out which php.ini was being used by my mamp installation. Drush cli was using the same PHP but not the same php.ini. MAMP Pro allows you to set some php.ini variables via the GUI but the cli seems to use a generic php.ini located in /Applications/MAMP/conf/php[PHP VERSION]/php.ini
1) Change that php.ini, 2) restart the mamp server, 3) check if the xhprof module is loaded with php -m