On a fedora system with apache 2 i downloaded the php 5.1 source, did a ./configure --disable-cgi --with-mysqli, then i did a make, and then a make install. I restarted apache2.
When I view phpinfo() php version 5.0.4 is still indicated. Is there something I need to address in php.ini or httpd.conf? I hadn't thought so.