Re: PHP3 + Mysql -> connecting problems
BINGO!!!!
Its working now,
Thank you very much Shao.
Have fun...
Jorge
----- Original Message -----
From: Shao Zhang <shao@cia.com.au>
To: Jorge Sousa <jsousa@rid.pt>
Cc: <debian-user@lists.debian.org>
Sent: Thursday, January 27, 2000 4:52 AM
Subject: Re: PHP3 + Mysql -> connecting problems
> Hi,
> I think you will need to load the library. try this in your php
> scripts:
>
> dl("mysql.so");
>
> And make sure you have these lines in your
> /etc/php3/cgi/php3.ini:
>
> extension_dir = /usr/lib/php3/cgi
> extension = mysql.so
>
>
> Shao.
>
> Jorge Sousa [jsousa@rid.pt] wrote:
> > Hi all,
> >
> > I have php3 installed and running, i also installed the php-mysql
packages
> > but whenever I try to access a php3 script with mysql functions the
script
> > will fail with the message:
> >
> > "Fatal error: Call to unsupported or undefined function mysql_connect()
in
> > /home/www/projectoX/teste.php3 on line 11"
> >
> > sure i'm missing something, just don't know what?
> >
> > Any hints??
> >
> >
> > Thanks in advance
> >
> >
> > Jorge Sousa
> >
> >
> >
> > --
> > Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org <
/dev/null
> >
> >
>
> --
>
____________________________________________________________________________
> Shao Zhang - Running Debian 2.1 ___ _ _____
> Department of Communications / __| |_ __ _ ___ |_ / |_ __ _ _ _ __
_
> University of New South Wales \__ \ ' \/ _` / _ \ / /| ' \/ _` | ' \/
_` |
> Sydney, Australia |___/_||_\__,_\___/
/___|_||_\__,_|_||_\__, |
> Email: shao@cia.com.au
|___/
>
____________________________________________________________________________
_
Reply to: