After installing mod_php, there nothing to edit the configuration file. You can see all conf files are included from conf.d directory in httpd.conf. So, create index.php in /var/www/html/ (DocumentRoot)(if are using rpm). and in browser type
Code:
http://localhost/index.php
definetly you will get it. Do it and let me know ASAP.
You need to edit /etc/php.ini file for that if you are using mysql/msql datebase. What database r u using, is that mysql?