MySQL support is bundled with PHP 4.x, you don't have to enable it. You can disable it 
(--with-mysql=no) or point it to your mysql client libraries 
(--with-mysql=/path/to/mysql)

What is your configure line, OS, and PHP version?

--
Jim

>>> Chris Hewitt <[EMAIL PROTECTED]> 01/22/03 09:35AM >>>
Michael Christie wrote:

> Hi list ,
> I have set up PHP4 on a open bsd box with mysql  I was able to 
> connect, create a database and create a new user, etc.
> Another problem has come up. Now, trying to connect to the database I 
> have created, am using the standard PHP function: mysql_connect, and 
> am getting the error:
>
> Fatal error: Call to undefined function: mysql_connect() in 
> /var/www/htdocs/southwest/php/procQuery.php on line 8.

I suspect it is because you did not compile php --with-mysql. Does a 
phpinfo() show mysql compiled in?

HTH
Chris
PS Your compute clock is set at 2001.


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



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

Reply via email to