phpmongodbxhprof

xhgui doesn't save any data


I've installed all te prerequistes on an Ubuntu machine and added the following to my apache virtual host file

php_admin_value auto_prepend_file "/var/www/xhgui/external/header.php"

After visiting the site I then go to /xhgui/webroot and just see the message

Looks like you haven't done any profiling

Mongodb is running but it seems as though no data is being saved there.

Any suggestions?

Thanks


Solution

  • external/header.php has logic to simply return; if rand(0, 100) does not return the value 42. Try commenting that out (temporarily).