Leela,
You'll have to excuse Vincent, I think he's escaped from the Perl community. His posts seem to show their trend of the "If I can read the manual, so can you and you're not worthy of my help"🙂 IMHO, not the way to inspire newbies to remain in our (usually) friendly little community.
You need to make a couple of changes to your Apache httpd.conf file to allow Apache to pass PHP files to the interpreter. Since you said that you've aleady configured Apache and PHP, the lines you're concerned with are AddType and DirectoryIndex. The AddType directive tells Apache which files are PHP files. The typical entries are:
AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-phps .phps
you can also add the .htm and .html extensions to the first line if you want HTML files parsed as PHP docs. The DirectoryIndex directive tells Apache what files to use as the default index pages when no file is specified. The usual suspects are:
DirectoryIndex index.php index.php3 index.phtml index.html index.htm
The order in which the files are listed control the search order Apache uses when it's picking it's default page. I tend to put the PHP files first, but that's your preference. All you need to do now is restart Apache and you should be in business. HTH,
Geoff A. Virgo