Skip to content
This repository was archived by the owner on Dec 14, 2021. It is now read-only.
James Williams edited this page Mar 15, 2017 · 10 revisions

Parrot installs the xhprof PHP extension and sets up the web-based user interface, though not everything is linked up to work immediately. You will need to create two symlinks inside parrot:

  • /usr/share/php-xhprof/xhprof_lib pointing to /usr/share/php-xhprof/lib
  • /usr/share/php/xhprof_html pointing to /usr/share/php-xhprof/html

Then you can access the web-based interface by visiting:

http://localhost:8181/xhprof

From the host.

Settings for Drupal

If you use the Devel module you can enable xhprof logging by using the following for the settings on Devel's configuration page:

For the xhprof path:

/usr/share/php-xhprof

For the xhprof URL:

http://localhost/xhprof
Clone this wiki locally