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 5B82A9DC899 for ; Wed, 11 Jan 2006 09:13:30 -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 69914-03 for ; Wed, 11 Jan 2006 09:13:33 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from segundonodo.nodo5.com (segundonodo.nodo5.com [66.98.170.56]) by postgresql.org (Postfix) with ESMTP id 01F1B9DC868 for ; Wed, 11 Jan 2006 09:13:27 -0400 (AST) Received: from nediam.com.mx (localhost.localdomain [127.0.0.1]) by segundonodo.nodo5.com (8.12.11/8.12.11) with ESMTP id k0BDAcF3031471; Wed, 11 Jan 2006 07:10:38 -0600 From: "Javier Carlos" To: Frank Bax , pgsql-php@postgresql.org Subject: Re: PHP and PostgreSQL connection Date: Wed, 11 Jan 2006 07:10:38 -0600 Message-Id: <20060111130651.M12997@nediam.com.mx> In-Reply-To: <5.2.1.1.0.20060111074539.030167b0@pop6.sympatico.ca> References: <21509df10601110431x2290d256s92e3b0528791ad1d@mail.gmail.co m> <5.2.1.1.0.20060111074539.030167b0@pop6.sympatico.ca> X-Mailer: nediam 1.81 20040914 X-OriginatingIP: 201.160.4.201 (nediam) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Virus-Scanned: ClamAV 0.87.1/1237/Tue Jan 10 09:53:20 2006 on segundonodo.nodo5.com X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[AWL=0.000] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200601/12 X-Sequence-Number: 3383 What does your phpinfo() says? It sould say that your version of PostgreSQL installation is Enabled. If so, what is the error message when you try to connect with pg_connect ? Regards, Javier On Wed, 11 Jan 2006 07:48:35 -0500, Frank Bax wrote > At 07:31 AM 1/11/06, Rafael Mora wrote: > > Is there any special config to connect PHP+PostgreSQL+Apache2.0.54?, > > because I try to do pg_connect() and it seems that PHP doesn´t find the > > db, so please any help will be appreciated > > Presumably you've already installed php and pgsql. You also need to > install php-pgsql package; then enable the module. > > ---------------------------(end of broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings -- nediam.com.mx