Installing Php for apache

Hi i am using Fedora 8 and it comes with precompiled rpm distribution of php. I want to configure my Apache web server for php . Did i need to recompile php.... or it can be configured accordingly for apache...

Thanks for any sort of help

The only thing you might need to reconfigure is that Apache loads the libXphp module. Grep your HTTP conf files for "php" and you should see something like:

LoadModule php5_module modules/libphp5.so

If this is already there, uncommented, and in the conf.d directory, just restart your web server and you should be ready to go.