Paul Walker on 23 May 2011 10:46:25 -0700

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

[PLUG] Trying to config xhprof on gridserver

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  --