Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 582109F9C49 for ; Tue, 28 Aug 2007 22:04:57 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 99923-06 for ; Tue, 28 Aug 2007 22:04:49 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by postgresql.org (Postfix) with ESMTP id 6F49E9F9D01 for ; Tue, 28 Aug 2007 22:04:54 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id 70A4331441; Wed, 29 Aug 2007 03:04:51 +0200 (MET DST) From: ljb X-Newsgroups: pgsql.interfaces.php Subject: Re: PHP and libpq version question Date: Wed, 29 Aug 2007 01:04:44 -0000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <13d9hhce8jg660a@corp.supernews.com> References: <20070828193022.8DBE12FF01@webmail.intrcomm.net> X-No-Archive: yes User-Agent: slrn/0.9.8.1 (Linux) X-Complaints-To: abuse@supernews.com Lines: 12 To: pgsql-php@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200708/2 X-Sequence-Number: 3817 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.