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 7D9339DC800 for ; Sun, 5 Mar 2006 15:05:52 -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 89675-05 for ; Sun, 5 Mar 2006 15:05:51 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web33112.mail.mud.yahoo.com (web33112.mail.mud.yahoo.com [68.142.206.93]) by postgresql.org (Postfix) with SMTP id 35F2A9DCC86 for ; Sun, 5 Mar 2006 14:41:21 -0400 (AST) Received: (qmail 7905 invoked by uid 60001); 5 Mar 2006 18:41:22 -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=zwmPqHI889CmG9kAIv7qA+64WTH1A2GMCwTZ7BJ4NUjybma22S4uRaHgotwlTCSmzJjSHhrpPidM/Zq5/njOZZCuzWGkd/sFwqk2v/ywImml1YOZN/hNfC9oXRdimlzoY1iWafGrApnGC5toCSsQI/VU9YAcY9EMgsjnzzDsvPo= ; Message-ID: <20060305184122.7903.qmail@web33112.mail.mud.yahoo.com> Received: from [71.70.221.255] by web33112.mail.mud.yahoo.com via HTTP; Sun, 05 Mar 2006 10:41:22 PST Date: Sun, 5 Mar 2006 10:41:22 -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: chris smith In-Reply-To: <3c1395330603042225x54336003rded9dce3d74df80c@mail.gmail.com> 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/4 X-Sequence-Number: 3454 Chris, Yes, I have the php-pgsql rpm installed along with many others. I checked the location of the extensions and they match where php expects them to be (according to php.ini and phpinfo()). Any other suggestions as to that might be the problem? I am just wondering if SuSE team broke something in the new version of Apache 2.2 or version of php. Thanks, Stuart --- chris smith wrote: > On 3/5/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() > > That means php doesn't know what pg_connect is. > > See if you need to install a php-pgsql rpm, then > restart apache (it > should show "postgresql" in the phpinfo page now). > > -- > Postgresql & php tutorials > http://www.designmagick.com/ >