Re: Configure PostgreSQL on PHP

Поиск
Список
Период
Сортировка
От DIB Walid
Тема Re: Configure PostgreSQL on PHP
Дата
Msg-id 200306271002.h5RA21A01708@imap-serv.inrialpes.fr
обсуждение исходный текст
Ответ на Re: Configure PostgreSQL on PHP  (Adam Witney <awitney@sghms.ac.uk>)
Список pgsql-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

В списке pgsql-php по дате отправления:

Предыдущее
От: Matt Goodall
Дата:
Сообщение: Re: Configure PostgreSQL on PHP
Следующее
От: Philip Olson
Дата:
Сообщение: Re: Configure PostgreSQL on PHP