Changing the PHP Installation that Apache Uses?

So I just took over a box with a small problem. There are two instances of PHP installed - one at /usr/bin/php and another at /usr/local/bin/php

Currently yum and other automatic updates are set up to update and integrate with /usr/local/bin/php but apache is serving files through /usr/bin/php

Is there any easy way to change apache to use the /usr/local/bin/php installation (I don’t need to use both installations at the same time), or am I going to have to reinstall apache? I haven’t found much info on Google or in the forums here.

Nevermind, found that the /usr/local/bin/php was the CLI php, and was able to set up some repositories to get the Apache PHP updated accordingly

oaksw12,

I don’t mess with the server configuration file on a 'nix box but my test server is on a WinDoze box and I have to add links to the correct PHP installation at the end (actually, the PHP installer does that very nicely). Check your server config file (it’s NOT httpd.conf in the Linux world - that’s an empty file) and search for ‘/php’ to find that line and change to the PHP version you want.

Regards,

DK