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 8F38C9DC86B for ; Sun, 5 Mar 2006 02:25:27 -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 27997-06 for ; Sun, 5 Mar 2006 02:25:26 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.207]) by postgresql.org (Postfix) with ESMTP id 9E1279DC80D for ; Sun, 5 Mar 2006 02:25:24 -0400 (AST) Received: by zproxy.gmail.com with SMTP id 13so992588nzp for ; Sat, 04 Mar 2006 22:25:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=revn3ObBus2cgbN6a9QwJUKgMQOC1j9HoGQu9LFxXITvukUCp/F1ImVxJH3sB3ltpzmGseXxNgpOFdC9TN9mZBtBY5V5R8459DDYbQh2TdqZ6mR3fYOqmBVzhAqjLqT+mrkkgEvXIvY+9CKUC0Fc2lGza6TDtmVgv0UQwdNy/2o= Received: by 10.36.141.4 with SMTP id o4mr782817nzd; Sat, 04 Mar 2006 22:25:25 -0800 (PST) Received: by 10.36.23.18 with HTTP; Sat, 4 Mar 2006 22:25:24 -0800 (PST) Message-ID: <3c1395330603042225x54336003rded9dce3d74df80c@mail.gmail.com> Date: Sun, 5 Mar 2006 17:25:24 +1100 From: "chris smith" To: sfbarbee@yahoo.com Subject: Re: Apache 2.2 w/ PHP 5.1.2 and PostGreSQL 8.1 Cc: pgsql-php@postgresql.org In-Reply-To: <200603042021.32418.sfbarbee@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200603042021.32418.sfbarbee@yahoo.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.112 required=5 tests=[AWL=0.112] X-Spam-Score: 0.112 X-Spam-Level: X-Archive-Number: 200603/2 X-Sequence-Number: 3452 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() sh= ows > 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/