I am using FC5 with mysql 5.0.21 OR postgresql-8.1.4-1 and PHP 5.1.4-1 and I have set up drupal before with; 4.51 with mysql 4x and php 3x.
1st:
The first problem with 4.7 "Unable to Connect to database Server" occurs with Postgres and Mysql. I have checked my login info and database permissions and the settings.php with both postgres and mysql and both give me this error.
2nd:
I when to 4.6.8 just to see if I could get something to work. Set up a new subdirectory under my www and and a new database for it.
It came up and allowed me to create an admin account and change the password but the PHP doesn't work, here is an example the theme display. I don't get a login screen so I can't logout.
{head} {styles}
{_BLOCK_.header.logo} {_BLOCK_.header.site_name}
{secondary_links}
{primary_links}
{_BLOCK_.header.blocks}
{_BLOCK_.header.message}
Welcome to your new Drupal-powered website. This message will guide you through your first steps with Drupal, and will disappear once you have posted your first piece of content.
The first thing you will need to do is create the first account. This account will have full administration rights and will allow you to configure your website. Once logged in, you can visit the administration section and set up your site's configuration.
Drupal comes with various modules, each of which contains a specific piece of functionality. You should visit the module list and enable those modules which suit your website's needs.