I've got both MySQL and PHP working independantly on my Linux web server. That is, I can view PHP web pages via Apache and I can access MySQL from the command line, set up databases, tables, etc.

What I can't do is get them working together.

When trying to make a connection in the usual way:

$dbh = mysql_connect( $HOSTNAME, $USER, $PASSWORD ) or die ("couldn't connect to database\n");

I get the following error:

Fatal error: Call to undefined function: mysql_connect() in /var/www/html/bt/index.php on line 13

I have poured over the documents, but it looks like mysql support has been compiled in, so I'm not sure what's going on.

You can view my configuration (via phpinfo printout) at:

http://www.beyondtranslations.com/

Any help/advice much appreciated.

Brgds: John


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to