The httpd.conf connects PHP to Apache.  What connects PHP to MySQL?

I've looked through google and I can't find anything that makes since to me.
Can someone point me in a direction as to where I can find this out?

The problem I'm having is I have PHP 4.3.2, MySQL 4.0.13 and Apache 2.0.46.
I have a page that is trying to connect to MySQL via PHP.  The error is:

Fatal error: Call to undefined function: mysql_connect() in
/var/www/html/ww3.polkmechanical.com/test/mysql_test.php on line 8

The code on line 8 is:

$link = mysql_connect( "localhost", "user", "password" ) or
die(mysql_error());

I can log on through mysql at a telnet prompt with the database, user and
password.

Ty...


............................................................................
When governments fear the people there is liberty. When the people fear the
government there is tyranny. 
-Thomas Jefferson, third US president, architect and author (1743-1826)



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to