pg_connect

Поиск
Список
Период
Сортировка
От Johann Thoyer
Тема pg_connect
Дата
Msg-id baldli$j3g$1@d03.completel.fr
обсуждение исходный текст
Ответы Re: pg_connect
Список pgsql-sql
Hi everybody,

Excuse me for my bad english...

I've installed Red hat Linux 8.0, and php 4.2.2, apache 2.0.40 and
postgresql are installed automatically.

Apache and php runs very well (i created a file "test.php" with the
instruction phpinfo() and the information appears very well when i load my
page in my browser, in particular i see the configure command of php
and --with-apxs --with-pgsql=shared take part of it).

In an other php file, i try to connect a postgres database with the command
pg_connect.
And it appears in my browser this error message:
Fatal error: Call to undefined function: pg_connect() ...

the file httpd.conf contents:
LoadModule php4_module modules/libphp4.so

the file php.ini contents:
pgsql.allow_persistent= On

what should i do?

Thanks for any help

Johann




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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: [PHP] faster output from php and postgres
Следующее
От: Benoît Bournon
Дата:
Сообщение: Re: tablename as attribute in pgplsql