Re: Configure PostgreSQL on PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I'm running php under Windows 2000 and on my php.ini file i uncomment the
line regarding the pgsql dll, but doesn't seems to work.

How do i compile php with the pgsql flag?

Carlos Lopes

----- Original Message -----
From: "DIB Walid" <walid.dib@xxxxxxxx>
To: "Adam Witney" <awitney@xxxxxxxxxxx>; "Carlos Lopes" <clopes@xxxxxxxxx>;
"pgsql-php" <pgsql-php@xxxxxxxxxxxxxx>
Sent: Friday, June 27, 2003 3:01 AM
Subject: Re: [PHP] Configure PostgreSQL on PHP


I think he forget to compile php with the pgsql flag option.
Walid
Le Vendredi 27 Juin 2003 11:50, Adam Witney a écrit :
> I don't think you need anything in your php.ini, you should be able to
> connect like so:
>
>  $connstr = "dbname=<dbname> user=<user> password=<passwd> host=<host>";
>
>  $dbh = pg_connect($connstr);
>
> If this fails, what errors do you get?
>
> adam
>
> > Hi, can anyone tell me how to configure my php.ini file, so i can
connect
> > to a pgsql database?
> >
> > I already have the database installed and is working under pgAdmin, but
i
> > can't put the pg_connect() command working.
> >
> > Can someone help me?
> >
> > Thanks
> >
> > Carlos Lopes



[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux