Help needed in configuring PHP on Linux (RH 9)


Hi all,
I need help/guidance in configuring my Apache so that I can run PHP 4.2. The OS I am working on is Linux - RH 9.
I have reached to a state where I can run my Apache and it DOES show the test page for apache. However, I am not able to configure PHP on it.
Say for example, I have a directory, /home/mydir/test.php and I need to run this test.php on Apache. I do not know which files do I need to configure so that this directory works as a default directoy for Any help is much appreciated.
Thanx in advance.[/code]



Look for the DocumentRoot enty (right now it should be at something like /var/www/html)

Once the file edited, use
/sbin service httpd restart