From a2349e82ba163dfca680f41df481a7ac2b5a0177 Mon Sep 17 00:00:00 2001 From: epriestley Date: Mon, 9 Jan 2012 07:39:25 -0800 Subject: [PATCH] Remove dead link from install documentation Summary: XHProf install documentation went missing a month or two ago (see T725) and doesn't work in the widely deployed versions of PEAR/PECL. Provide build-from-source instructions inline. Test Plan: Generated, read documentation. Reviewers: btrahan, jungejason Reviewed By: btrahan CC: aran, btrahan Maniphest Tasks: T725 Differential Revision: https://secure.phabricator.com/D1345 --- src/docs/installation_guide.diviner | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/docs/installation_guide.diviner b/src/docs/installation_guide.diviner index 60904b0b23..5a1a98c117 100644 --- a/src/docs/installation_guide.diviner +++ b/src/docs/installation_guide.diviner @@ -96,11 +96,22 @@ If it doesn't show up, add: XHProf is a PHP profiling tool. You don't need to install it unless you are developing Phabricator and making performance changes. -You can find installation instructions for xhprof here: +You can install xhprof with: - http://mirror.facebook.net/facebook/xhprof/doc.html#installation + $ pecl install xhprof -You only need to install the PHP extension, not any of the library. +If you have a PEAR version prior to 1.9.3, you may run into a `phpize` failure. +If so, you can download the source and build it with: + + $ cd extension/ + $ phpize + $ ./configure + $ make + $ sudo make install + +You may also need to add "##extension=xhprof.so#" to your php.ini. + +See for more information. = Updating Phabricator =