Re: PHP and libpq version question

From: ljb <lbayuk(at)pobox(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: PHP and libpq version question
Date: 2007-08-29 01:04:44
Message-ID: 13d9hhce8jg660a@corp.supernews.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

dustin(at)intrcomm(dot)net wrote:
> Hello,
>
> I have compiled an apache/php rpm package for my servers on a box which is running postgresSQL 8.1.9. On a server running 8.1.0 I get the following when trying to start apache.
>
> Cannot load /opt/apache/modules/libphp5.so into server: /opt/apache/modules/libphp5.so: undefined symbol: PQescapeStringConn
>
> Is this because of the version difference?

Yes. PQescapeStringConn was added to the 8.1.x libpq at 8.1.4 so it isn't
there on the older server, and PHP uses it. You should upgrade the older
PostgreSQL server due to security fixes anyway.

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Finn Lassen 2007-11-21 00:54:52 VB ADODB .Open failing
Previous Message Dustin Butler 2007-08-28 19:30:22 PHP and libpq version question