| От | Tom Lane |
|---|---|
| Тема | Re: [INTERFACES] Pg from CGI in Apache |
| Дата | |
| Msg-id | 10665.919022069@sss.pgh.pa.us обсуждение |
| Ответ на | Pg from CGI in Apache (Wolfgang Hottgenroth <whottgen@w3plus.de>) |
| Список | pgsql-interfaces |
Wolfgang Hottgenroth <whottgen@w3plus.de> writes:
> I tryed to use some functions from the Pg-module from a CGI-script,
> started on a Apache-server. I always get only an error-message, that
> Dynaloader can not resolve the symbols from Pg, althrough I am able to
> start the scripts directly from the shell without problems.
> Did anyone knows problems like that?
Lack of an appropriate environment variable setting in the CGI context
is probably the problem --- LD_LIBRARY_PATH (or your platform's
equivalent) is the first thing I'd check for. You may also find that
your scripts are depending on other things in your shell environment,
like PGHOST, PGPASSWORD, etc...
regards, tom lane
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера