I am trying to get XHProf to work, but though I get the link at the bottom of the page clicking it throws a "Page Not found error". Searching the Drupal documentation, I landed on a page for configuring XHProf for Nginx. reading through the comment thread (there were several comments on what to do for Apache) I managed to get only this far
On my Ubuntu 12.04 laptop I've installed D6 (actually pressflow 6.x). I have several D6 vhosts on my machine. I installed XHProf using PECL ()
Add the newly created xhprof extension to my php.ini file at /etc/php5/apache2/php.ini
[xhprof]
extension=xhprof.so
xhprof.output_dir=/tmp
Restarted Apache and cheked if the XHProf is running
apachectl restart
php -m | grep xhprof
(Found that XHProf is running)
Checked PHP Info to make sure XHPRof is running.
In the Devel module settings, I enabled
[ ] Enable profiling of all page views and drush requests.
xhprof directory: /usr/share/php
XHProf URL: http://zen/xhprof_html
To enable access to the url through a browser I created a virtual host with the following entries
ServerAdmin myname@mymail.com
#ServerName xhprof
DocumentRoot /home/sridhar/mydocumentroot