From: | Joe Conway <mail(at)joeconway(dot)com> |
---|---|
To: | shreedhar <shreedhar(at)lucidindia(dot)net> |
Cc: | Postgre Admin <pgsql-admin(at)postgresql(dot)org>, Postgre General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Call to undefined function: pg_connect() |
Date: | 2003-08-07 04:54:55 |
Message-ID: | 3F31DB9F.7080902@joeconway.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
shreedhar wrote:
> Hi All,
>
> I Updated my Postgresql Server from 7.2.4 which came along with RH7.3 to
> 7.3.2. After updating I could not able to connect database through PHP. So I
> recompiled PHP4.1.2 (same version which have earlier in my system), even
> then I am not able to connect through PHP. Is there any other package has to
> be installed for this connection.
If I remember correctly, this is because libpq.so changed from
libpq.so.2 to libpq.so.3. Is there an old copy of libpq.so.2 hanging
around that is getting linked with instead of libpq.so.3? Did you re-run
configure and do a `make clean` on PHP before rebuilding it? If you are
really desperate, try creating a libpq.so.2 symlink from libpq.so.3.
HTH,
Joe
From | Date | Subject | |
---|---|---|---|
Next Message | shreedhar | 2003-08-07 07:13:43 | Re: [GENERAL] Call to undefined function: pg_connect() |
Previous Message | shreedhar | 2003-08-07 04:33:01 | Call to undefined function: pg_connect() |
From | Date | Subject | |
---|---|---|---|
Next Message | shreedhar | 2003-08-07 07:13:43 | Re: [GENERAL] Call to undefined function: pg_connect() |
Previous Message | shreedhar | 2003-08-07 04:33:01 | Call to undefined function: pg_connect() |