I have a virgin installation of FC3 with the default Apache,
MySQL, and PHP, and I downloaded and installed the latest 
phpBB.

I have created a database, user, and password for phpBB.
I can use $ mysql -u uuuuuu -p dddddd from a shell
to open MySQL and see that part working.

When I go to the install.php page for phpBB and give the
details (with [EMAIL PROTECTED]) it says "Could not connect 
to the database".

I created a phpinfo() page at silmaril.ucc.ie/index.php
which shows everything as up and running, but a test page 
at silmaril.ucc.ie/test.php (code below) returns the empty
<html><body></body></html> file.

I tried it with iptables turned off as well: same result.
There is obviously something else that needs enabling, but
I cannot see what it should be.

///Peter

test.php (username and password replaced)
<?
mysql_pconnect("localhost","uuuuuu" "pppppp") or die (mysql_error());
$q="SHOW DATABASES";
$res=mysql_query($q);
while ($row=mysql_fetch_array($res) )
{
  print $row[Database]."<br/>";
}
?>

Reply via email to