Okay, I've managed to compile php5 but how do I select it on my server? I mean, when I enter 'which php' in shell I get /usr/local/bin/php instead of the directory I compiled it to!?
A couple things: You wanting to use your own php5? Or the DH supplied one? As of earlier this summer, DH provides PHP5 now.
Read up on DH's PHP5 wiki page for details on both methods.