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

From: Jessica Blank <jessica(at)starchefs(dot)com>
To: John Chapman <johnc(at)cniconsulting(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:28:47
Message-ID: Pine.GSO.4.05.10302032225270.14859-100000@knife.starchefs.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?
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. ;) )

Can you show me the output of 'ls' on your PostgreSQL libs directory
please?

--Jessica

On Mon, 3 Feb 2003, John Chapman wrote:

>
>
> > The latest PHP4 (php-4.3.0) WILL NOT work with 7.3.1, since it (PHP)
> > expects there to be libpq.so.2, whereas 7.3.1 only provides libpq.so.3
> > ...
> >
> > ... I am really astonished that I could not find anyone else who had
> > this problem. Am I doing something horridly wrong?
>
> I don't know the answer. However, I do not agree with your assertion
> above. Note the following:
>
>
> root(at)db:/usr/local/apache/htdocs# psql -V
> psql (PostgreSQL) 7.3.1
> contains support for command-line editing
> root(at)db:/usr/local/apache/htdocs# telnet localhost 80
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> HEAD / HTTP/1.0
>
> HTTP/1.1 200 OK
> Date: Tue, 04 Feb 2003 03:20:20 GMT
> Server: Apache/1.3.27 (Unix) PHP/4.3.0
> Last-Modified: Thu, 30 Jan 2003 21:30:19 GMT
> ETag: "20cef-0-3e39996b"
> Accept-Ranges: bytes
> Content-Length: 0
> Connection: close
> Content-Type: text/html
>
> Connection closed by foreign host.
>
>
>
> ***********************************
>
> John Chapman
> CNI Consulting
> johnc(at)cniconsulting(dot)com
> www.cniemail.com
> 817-774-0369
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--Jessica

--
Jessica L. Blank, Systems Administrator & Programmer

www.starchefs.com
9 East 19th St., 9th Floor / New York, NY 10003
Jessica(at)StarChefs(dot)com - (973) 485-0684
Pager (917) 675-6618


Help Wanted. Help Found.
www.helpwantedhelpfound.com, a division of StarChefs

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Timothy Brier 2003-02-04 03:34:58 Re: [PHP] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4
Previous Message John Chapman 2003-02-04 03:23:07 Re: [PHP] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to libpq.so.[23])

Browse pgsql-php by date

  From Date Subject
Next Message Timothy Brier 2003-02-04 03:34:58 Re: [PHP] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4
Previous Message John Chapman 2003-02-04 03:23:07 Re: [PHP] 7.3.1 BREAKS COMPATIBILITY with the latest PHP4 (due to libpq.so.[23])