Re: [PHP] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 - Mailing list pgsql-general

From Mitch
Subject Re: [PHP] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4
Date
Msg-id 87D2934A-37F3-11D7-AD65-0003938024CA@karboneye.com
Whole thread Raw
In response to Re: [PHP] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4  (Jessica Blank <jessica@starchefs.com>)
List pgsql-general
> 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


pgsql-general by date:

Previous
From: Jeff Ross
Date:
Subject: Re: [PHP] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4
Next
From: Jessica Blank
Date:
Subject: Re: [PHP] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4