X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 5CF579DCA5D for ; Sun, 5 Mar 2006 14:50:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 86692-07 for ; Sun, 5 Mar 2006 14:50:23 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web33114.mail.mud.yahoo.com (web33114.mail.mud.yahoo.com [68.142.206.95]) by postgresql.org (Postfix) with SMTP id CBD2D9DCA08 for ; Sun, 5 Mar 2006 14:50:20 -0400 (AST) Received: (qmail 21978 invoked by uid 60001); 5 Mar 2006 18:50:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=zDkbm524hAkhtuaEUbS3cWSTZfEHM5s5ocprFJa7wzUeDHAGRsbx0WSqC5OhgfzwvmS/4zZar9ndwh2rL7HrjexWC/mj3+gIi30J8PcclxrmaYz9rmPZVZ4qlkp4jUesfROHd3QcDoPf8QoTov9oj9o2a3UHAhii9S78Eja38ko= ; Message-ID: <20060305185021.21976.qmail@web33114.mail.mud.yahoo.com> Received: from [71.70.221.255] by web33114.mail.mud.yahoo.com via HTTP; Sun, 05 Mar 2006 10:50:21 PST Date: Sun, 5 Mar 2006 10:50:21 -0800 (PST) From: Stuart Barbee Subject: Re: Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1 To: pgsql-php@postgresql.org Cc: Horacio Degiorgi In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.138 required=5 tests=[AWL=-0.220, DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_WHOIS=0.879] X-Spam-Score: 1.138 X-Spam-Level: * X-Archive-Number: 200603/3 X-Sequence-Number: 3453 Horacio, I was thinking it could be something like that but have not found a parameter that seems to affect that yet. The SuSE team compiles the extenstions separately and puts an include statement into the php.ini to insert an *.ini file for each extension. Supposedly you can comment the php-pgsql.ini file to exclude the extension. The extension is not commented, so I am not sure what could be wrong. Maybe something is broken here. Do you know anyone using this combination of packages (Apache 2.2 w/ APR 1.0, PHP 5.1.2 and PostGreSQL 8.1) and have it working ok? Stuart --- Horacio Degiorgi wrote: > check your php.ini, there must to be uncommented the > extension for postgresql > after correct that you need to reload apache to > apply the changes. > > > > On 3/4/06, Stuart wrote: > > Folks, > > > > I recently upgraded to Apache 2.2 w/ PHP > 5.1.2 to connect to my PostGreSQL > > 8.1 databases on a SuSE 10.0 system. I used the > rpm's provided by SuSE to > > install the Apache and PHP packages . Apache > works fine and phpinfo() shows > > all the normal info except the section on > additional modules is empty. I am > > not sure if this is normal. > > > > I get the following error and cannot figure out > why pgsql module is not > > loading. > > > > PHP Fatal error: Call to undefined function > pg_connect() > > > > Can anyone help with this? > > > > Thanks, > > > > Stuart > > > > ---------------------------(end of > broadcast)--------------------------- > > TIP 6: explain analyze is your friend > > > > > > -- > Horacio Degiorgi > http://blog.codigophp.com > Mendoza - Argentina >