Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This is an xhprof bug and not a devel bug, but I thought I'd throw the workaround up here in case people run into this upgrading to php 5.5 like I did.
Here's the bug report: https://bugs.php.net/bug.php?id=65345
I haven't tried the patch in that bug report but I did use the workaround by editing devel.module:
- xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY);
+ xhprof_enable(XHPROF_FLAGS_NO_BUILTINS | XHPROF_FLAGS_CPU | XHPROF_FLAGS_MEMORY);
Comments
Comment #1
HLopes CreditAttribution: HLopes commentedJust stumbled on this, can confirm the report & that the proposed solution works fine.
Without it all you'll get is 502 Bad Gateway errors (I'm using nginx).
Comment #2
willzyx CreditAttribution: willzyx commentedxhprof is not part of devel anymore. Closing as outdated