Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id D2B6D9FB664 for ; Wed, 7 Mar 2007 05:36:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 91958-08 for ; Wed, 7 Mar 2007 05:36:08 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from web52901.mail.yahoo.com (web52901.mail.yahoo.com [206.190.49.11]) by postgresql.org (Postfix) with SMTP id A6C8F9FB663 for ; Wed, 7 Mar 2007 05:36:07 -0400 (AST) Received: (qmail 37280 invoked by uid 60001); 7 Mar 2007 09:36:06 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=gj8cEZNuQ1ByfiYII+q72tbNXWdr8UfwXremnZoDuN2MGAnrp1nZXka3WEMY5Di9drQ4eOwc7Rq50aPXsKtjaJNPNGpvsJR+txzZygMivNscJ1zVnzNT7G3XGrkhy5toktu6Uz2j0HtVhFx/2kAXT0sPfqzoRs5G7MhxqyMWqNM=; X-YMail-OSG: Nc9pyMcVM1mNRcLSIZ_GtsNj5xb710e0kBRb_.XEhd6bA94jNf3Awa6wSqV.raLU6XBl74IShqph8CSyo1N93B3q3aGwSz6veRHdbf1lHaDBQZs3RJtFe6RgnCM3RFdx3LMXuBzev6EZe9Q- Received: from [90.2.243.236] by web52901.mail.yahoo.com via HTTP; Wed, 07 Mar 2007 10:36:06 CET Date: Wed, 7 Mar 2007 10:36:06 +0100 (CET) From: Thomas Woerly Subject: Undefined function pg_escape_bytea() despite good PG version To: pgsql-php@postgresql.org In-Reply-To: <20070307090739.C502237B56A@mx3.hub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <397592.36072.qm@web52901.mail.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=2.615 tagged_above=0 required=5 tests=BAYES_20, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, DNS_FROM_RFC_WHOIS X-Spam-Level: ** X-Archive-Number: 200703/26 X-Sequence-Number: 3738 Hello PGsql list people ! My first message on this list. I am installing a collaborative platform using Apache2.0.59 / PHP4.4.2 and Postgre 7.4.14 Everthinh works fine in the creation of tables until this for one table : Call to undefined function: pg_escape_bytea() in/home/demo/phpgwapi/inc/adodb/drivers/adodb-postgres64.inc.php on line 407 When searching the Web, some say it is due a bad version of PostgreSQL, since pg_escape_bytea() arrived at v.7.2. My Webmin and pg_config --version say I have a 7.4.14 version. I compiled PHP with this ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-dbase --with-filepro --enable-exif --with-xml --enable-ftp --with-db --enable-bcmath --enable-calendar --with-jpeg-dir --with-png-dir --with-gd --enable-gd-native-ttf --with-freetype-dir --with-gettext --with-mysql --with-zlib-dir --enable-trans-sid --with-imap --with-kerberos --with-imap-ssl --with-openssl --enable-sysvsem --enable-sysvshm --with-gettext --with-dom --with-mcrypt --with-iconv --enable-mbstring=all --enable-mbregex --with-gd --with-png-dir=/usr --with-jpeg-dir=/usr --with-mime-magic=/usr/share/magic.mime --with-pgsql=/usr/locla/pgsql/bin/pg_config More info : I have the libphp4.so in modules of apache server and the correct LoadModule php4_module modules/libphp4.so My phpinfo() shows a pgsql section but does not show the version Does anyone know how to tackle this ? Thanks for reading my request. Greetings Thomas ___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com