I have compiled PHP 5.3 on ubuntu about two months ago following Brandon Savages guide (I think). It works. Now I wanted to see in what file apache stored the location of the PHP binary but I can't find it, it's not in any configuration file. Does apxs2 has something to do with that?
LoadModule php5_module /usr/lib/apache2/modules/libphp5.so