[EMAIL PROTECTED] (Tim) wrote in
news:[EMAIL PROTECTED]: 

> Setup:
> 2 servers, one with PHP 4.1.2 and no MySQL installed, the other has
> MySQL and PHP 4.1.2
> 
> Problem:
> I am attempting to connect to the MySQL server from the server without
> MySQL, but I get the error that shows in the subject.
> 
> Fatal error: Call to undefined function: mysql_connect() in
> /folder/index.php on line 11
> 
> I was told that maybe the extension for MySQL was not setup in PHP.  I
> thought that maybe it was just because MySQL wasnt installed on the
> system I am working on, but it makes sense that I am not trying to
> access a database on the system I am working from, but trying to
> access one on a different server all together.
> 
> What do you think?

I think the error message tells it all - there is no mysql support in the 
php you are using. You'll need to recompile with php support, or load a 
mysql extension library. 

Cheers

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

Reply via email to