Stray Notes » Blog Archive » Running Kcachegrind on Mac OSX 10.4

I posted earlier on how to Get Rich with PHP5.

In that article Rasmus Lerdorf writes about how to use a certain set of debugging tools as well as PECL packages and database modifications to really tweak some serious speed out of your PHP web application.

I use a powerbook G4 for my PHP hackery, so some of the tools he mentioned are not available with a deault OSX 10.4 installation.  So I thought, hey lets write a how to install to make this work!!

First lets get a little tool called http_load. Get it here.

Untar the file.

tar zxvf http_load-12mar2006.tar.gz

run make

I recommend copying http_load to a directory like /usr/local/bin or /usr/local/sbin … basically somewhere in your path 🙂

Now lets install kcachegrind.  For that, follow this link over to the stray notes blog.

Stray Notes » Blog Archive » Running Kcachegrind on Mac OSX 10.4
Running Kcachegrind on Mac OSX 10.4

Now with both of those installed, you should be ready to go!

Debug your hearts out people!