What do you mean by 'not getting index.php'?
What does http://yourdomain
What does http://yourdomain/index.php
Some ideas where to look (taken from my Slackware 12 webserver). It might be completely different in FC, so it's only posted as ideas. You can use e.g. grep
to find keywords.
#WimS: add index.php
DirectoryIndex index.html index.php
The above line(s) from my httpd.conf make that apache will look for index.html and if not found for index.php in the document root if you enter http://yourdomain
in the address bar of your browser.
#WimS: enable PHP
The above line from my httpd.conf will enable php. mod_php.conf contains the following two lines:
LoadModule php5_module lib/httpd/modules/libphp5.so
AddType application/x-httpd-php .php
PS I've reported your post as it's not really a programming question. A moderator might move it.