Re: PHP libpq Version != Actual PGSQL Version - Mailing list pgsql-novice

From John DeSoi
Subject Re: PHP libpq Version != Actual PGSQL Version
Date
Msg-id 26CC576A-8D95-42BE-A5B4-1FB21FEC0A63@pgedit.com
Whole thread Raw
In response to PHP libpq Version != Actual PGSQL Version  (<operationsengineer1@yahoo.com>)
Responses Re: PHP libpq Version != Actual PGSQL Version  (<operationsengineer1@yahoo.com>)
List pgsql-novice
On Mar 28, 2006, at 10:18 PM, <operationsengineer1@yahoo.com>
<operationsengineer1@yahoo.com> wrote:

> i noticed today that phpinfo() displays:
>
> PostgreSQL(libpq) Version     8.0.1
>
> the strange thing is that i upgraded to 8.1.
>
> shouldn't it display 8.1 instead of 8.0.1?

In general, no. Unless you compiled PHP yourself, it uses whatever
version of libpq was available at build time. For example, on OS X my
PHP library has no dynamic references for libpq. PostgreSQL support
was compiled in when PHP was built and changing the PostgreSQL
version on my computer has no impact.




John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: PHP libpq Version != Actual PGSQL Version
Next
From: Christoph Della Valle
Date:
Subject: Re: LIMIT clause and long timings