pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PHP and libpq version question
2+ messages / 2 participants
[nested] [flat]

* PHP and libpq version question
@ 2007-08-28 19:30 Dustin Butler <dustin@intrcomm.net>
  2007-08-29 01:04 ` Re: PHP and libpq version question ljb <lbayuk@pobox.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Dustin Butler @ 2007-08-28 19:30 UTC (permalink / raw)
  To: pgsql-php

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?

Thanks,
Dustin Butler
Intrcomm Technology



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: PHP and libpq version question
  2007-08-28 19:30 PHP and libpq version question Dustin Butler <dustin@intrcomm.net>
@ 2007-08-29 01:04 ` ljb <lbayuk@pobox.com>
  0 siblings, 0 replies; 2+ messages in thread

From: ljb @ 2007-08-29 01:04 UTC (permalink / raw)
  To: pgsql-php

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.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-08-29 01:04 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-08-28 19:30 PHP and libpq version question Dustin Butler <dustin@intrcomm.net>
2007-08-29 01:04 ` ljb <lbayuk@pobox.com>

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