Re: installation problem

Поиск
Список
Период
Сортировка
От scott.marlowe
Тема Re: installation problem
Дата
Msg-id Pine.LNX.4.33.0304091149420.22442-100000@css120.ihs.com
обсуждение исходный текст
Ответ на installation problem  (DIB Walid <walid.dib@inrialpes.fr>)
Список pgsql-php
On Wed, 9 Apr 2003, DIB Walid wrote:

> I install Apache 1.3.20, php 4.0.5 and postgresql 7.1.2
>
> When i try to connect to the db with the pg_connect function i got this error
> message:
> Fatal error: Call to undefined function: pg_connect() in
> /home/helix/dib/public_html/connexion.php on line 3
>
> i search in the documentation and th web and there is no real solution, i
> configure PHP with this option:
> --with-pgsql=shared
> when i start the database process i use:
> postmaster -i -D $PGDATA

Two suggestions:

1: update all three packages, as they have known security flaws you
shouldn't be using those old versions.  I'd recommend the latest of each,
postgresql 7.3.2, php 4.3.whatever, and apache 1.3.27.

2: Just use the --with-pgsql switch alone, and see if the php ./configure
script can find it.  the only thing I've ever needed to make things work
on Linux was to edit the /etc/ld.so.conf file and add a line for
/usr/local/pgsql/lib and run ldconfig.  Other than that, the configure
script has always just found postgresql for me.


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

Предыдущее
От: DIB Walid
Дата:
Сообщение: installation problem
Следующее
От: "Nick Fankhauser - Doxpop"
Дата:
Сообщение: Seeking advice on getting started with PHP & PG in Debian