compile php with mysql-support, i.e. configure --with-mysql 
and so on.

If you are on a redhat system and using the installed apache-webserver,
then there should be a package php-mysql*.rpm or similar which needs to be
installed.

Thats not a real mysql-problem. ;-)


Thomas

On Sun, 1 Dec 2002 07:34:19 +1000 "Brendan Mansell" <[EMAIL PROTECTED]> wrote:

> Hi all,
> I'm not really sure if I'm posting this to the right list or not, but I've
> recently installed mysql on a Linux machine in order to learn some mysql/php
> stuff.  However, I've obviously configured something wrongly and can't work
> out what.  The output i get when I try to do anything mysql-ish from my php
> code is:
> 
> Fatal error: Call to undefined function: mysql_connect() in
> /var/www/testphp.php on line 7
> 
> To me this says 'mysql isn't installed as far as I can tell' since the
> connect function is the first thing it does.. but I've looked through
> documentation and configuration files and I'm stumped.  Any help would be
> appreciated.
> 
> Thanks,
> 
> Brendan.
> 
> 
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
> 
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
> 

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to