pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ljb <lbayuk@pobox.com>
To: pgsql-php@postgresql.org
Subject: Re: PHP and libpq version question
Date: Wed, 29 Aug 2007 01:04:44 -0000
Message-ID: <13d9hhce8jg660a@corp.supernews.com> (raw)
References: <20070828193022.8DBE12FF01@webmail.intrcomm.net>

dustin@intrcomm.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.



view thread (2+ messages)

Message-ID: <13d9hhce8jg660a@corp.supernews.com>
Permalink:  ../13d9hhce8jg660a@corp.supernews.com/
Also on:    postgresql.org/message-id/13d9hhce8jg660a@corp.supernews.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: lbayuk@pobox.com
  Subject: Re: PHP and libpq version question
  In-Reply-To: <13d9hhce8jg660a@corp.supernews.com>
  References: <20070828193022.8DBE12FF01@webmail.intrcomm.net> <13d9hhce8jg660a@corp.supernews.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox