Ntdoc,

I don't think the older version problem applies as I'm using newer versions:

debian:# mysqld --version
mysqld Ver 5.0.32-Debian_7etch4-log for pc-linux-gnu on i486 (Debian etch distribution)
debian:# mysql --version
mysql Ver 14.12 Distrib 5.0.32, for pc-linux-gnu (i486) using readline 5.2

I ran this code:

<?php

$dbh = mysql_connect("localhost","username","password");
mysql_select_db("databasename",$dbh);

?>

And came up with this error:

Fatal error: Call to undefined function mysql_connect() in /var/www/apache2-default/test.php on line 4

Am I wrong about the versions?

Thanks,

Wayne