Re: php and postgresql on windows

Поиск
Список
Период
Сортировка
От Przemek Kowalczyk
Тема Re: php and postgresql on windows
Дата
Msg-id 4cb3dbb70602022103l57309b98l@mail.gmail.com
обсуждение исходный текст
Ответ на Re: php and postgresql on windows  (Chris <dmagick@gmail.com>)
Ответы Re: php and postgresql on windows
Re: php and postgresql on windows
Список pgsql-php
Yes and Yes.

On 03/02/06, Chris <dmagick@gmail.com> wrote:
> Hi,
>
> Does the php_pgsql.dll file exist in the f:\php\ext folder?
>
> Did you restart your webserver after making this change?
>
> Przemek Kowalczyk wrote:
> > I am having trouble making php have postgresql support.  I saw a post
> > saying that if it is setup correctly you should see a psql entry. in
> > info.php.  I see no such entry.
> > My postgresql is setup correctly because I can connect to it, view
> > tables etc.  I am trying to setup php5, I installed it with apache2
> > and php itself works.  But I cannot get postgresql part to work.  I
> > have a simple script that I found when looking up the pg_connect
> > function but I get Fatal error: Call to undefined function
> > pg_connect() in F:\Program Files\Apache Group\Apache2\htdocs\index.php
> > on line 2
> > I also tried phppgadmin and it also gives me an error saying that
> > "Your PHP installation does not support PostgreSQL. You need to
> > recompile PHP using the --with-pgsql configure option."
> >
> >
> > In my php.ini I have
> > extension_dir = "./;F:\PHP\ext\"
> > and I have taken out the semi-colon in
> > extension=php_pgsql.dll
> >
> > Is that all that's required to get the pg functions to work?
> >
> > I tried inserting this dl('php_pgsql.dll'); into my script and still
> > says undefined function.
>
>

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

Предыдущее
От: Chris
Дата:
Сообщение: Re: php and postgresql on windows
Следующее
От: Chris
Дата:
Сообщение: Re: php and postgresql on windows