Re: [PHP] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4

From: Mitch <postgresql(at)karboneye(dot)com>
To: Jessica Blank <jessica(at)starchefs(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [PHP] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4
Date: 2003-02-04 03:48:32
Message-ID: 87D2934A-37F3-11D7-AD65-0003938024CA@karboneye.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-php

> I am happy for you-- you got YOUR copy of PHP 4.3.0 working with YOUR
> copy
> of PostgreSQL 7.3.1. However, two questions:
>
> 1) How can I do the same?

Compile and install PostgreSQL 7.3.1

ldconfig -m /usr/local/pgsql/lib (or whatever)
(If you're on FreeBSD. If not, look up the right command for your OS)

compile and install PHP :-)

> 2) Were you previously using PostgreSQL 7.3.0? If so, you most likely
> HAD
> A COPY of libpq.so.2 still floating about in /usr/local/postgres/lib or
> wherever... A mediocre and kluge-y solution at best. (So everyone
> installing PostgreSQL 7.3.x with PHP for the first time is required to
> FIRST install 7.3.0, THEN install 7.3.1 atop it, to get both versions
> of
> libpq.so? That would be a horrendous band-aid-ish solution. C'mon,
> we're
> all above that sort of rubbish. This is PostgreSQL, not Microsoft SQL
> Server. ;) )

If the older lib is getting in your way - remove it..

I'm almost positive that in the 7.3.1 install docs was very clear about
having to recompile everything that linked to libpq.

Good luck!

-Mitch

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jessica Blank 2003-02-04 03:49:08 Re: 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to
Previous Message Jeff Ross 2003-02-04 03:47:53 Re: [PHP] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4

Browse pgsql-php by date

  From Date Subject
Next Message Jessica Blank 2003-02-04 03:49:08 Re: 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to
Previous Message Jeff Ross 2003-02-04 03:47:53 Re: [PHP] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4