[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] MySQL, PHP, and Apache



Hi Guys,

phpinfo() says mysql is supported, but I'm suspicious.

I have a very simple page which is supposed to just open a connection to a
database;

<?php 

$connection = mysql_connect("localhost", "name", "pass");
echo $connection; 

?>

This is supposed to return the connection handle,  Instead I get an error;


Fatal error: Call to undefined function: mysql_connect() in
/home/groups/home/web/mysql_test.php on line 10


Now if php is telling me that mysql_connect() is an undefined function then
either its getting too late to focus on this or PHP and MySQL are simply not
playing nice on a Qube3.

Without going into the specifics of getting phpbb to run on a Qube3, has
anyone got PHP and MySQL to play nice on a Qube3?

Cheers,  Malcolm