Matt Murphy on 29 May 2011 17:30:51 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Trying to config xhprof on gridserver

You know, it looks like like it works like buffer handling in PHP... That is, it's implemented in the script in a similar waay (ob_start() maps to xhprof_enable() and ob_flush() to xhprof_disable()). Do you have a similar impression?


On Sun, May 29, 2011 at 8:26 PM, Matt Murphy <> wrote:
What is xhprof.output_dir set to?

Matt (yeah, that one)
On Mon, May 23, 2011 at 10:17 PM, Paul Walker <> wrote:
Well, I got the extension installed. Mediatemple actually had a doc outlining how to install xhprof .. Now my problem is that the UI won't show up. I stuck the xhprof_html folder in the root directory of the site I'm working on, but when I load it in the browser, it just gives me a white screen... no errors in the php log... hmph.

On Mon, May 23, 2011 at 1:46 PM, Paul Walker <> wrote:
Hey my name is Paul. This is my first post to the PLUG list. I'm a Drupal/PHP developer who is also learning the linux environment (Debian and Darwin) and basic server admin. I'm currently trying to install the xhprof (PECL) onto my Mediatemple gridserver. I'm having a bit of a time of it since write restrictions won't allow the PECL installer to work. I've done the following:

mkdir /home/#####/data/lib/xhprof-0.9.2
uncompress into /home/#####/data/lib/xhprof-0.9.2
cd ./xhprof-0.9.2/extension/
./configure (see below)
make install
make test
(make test returns 8 successful tests - 0 failures.)
mkdir /var/tmp/xhprof

then I'm adding the following to my php.ini (at /home/#####/etc):


At this point, xhprof still doesn't work (ie - a call to xhprof_enable() returns a fatal error - undefined function)

Also, the php.ini parsed by phpinfo() is read only on my server. The above php.ini file (created accdording to the mediatemple's docs) seems to not be being parsed by the server.

Other specs:

PHP Version 5.2.14


My questiosn:

What is the proper php-config path?

How do I tell php to parse my additional php.ini file?

Am I doing anything else wrong?

Thanks in advance for any help..

Philadelphia Linux Users Group     --    Â
Announcements -
General Discussion Â-- Â

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --