X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7E9C8D90C4 for ; Mon, 21 Nov 2005 02:36:40 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 78064-05 for ; Mon, 21 Nov 2005 06:36:36 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from svr2.postgresql.org (svr2.postgresql.org [65.19.161.25]) by svr1.postgresql.org (Postfix) with ESMTP id AA5C5D8DAF for ; Mon, 21 Nov 2005 02:36:34 -0400 (AST) Received: from a2s5.a2hosting.com (host-209-124-50-10.a2webhosting.com [209.124.50.10]) by svr2.postgresql.org (Postfix) with ESMTP id EC8E5F0C29 for ; Mon, 21 Nov 2005 06:36:34 +0000 (GMT) Received: from user-11201vo.dsl.mindspring.com ([66.32.7.248] helo=[192.168.1.10]) by a2s5.a2hosting.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.52) id 1Ee5I1-0002aT-Lk; Mon, 21 Nov 2005 01:36:33 -0500 In-Reply-To: <004801c5ee1e$7193d330$6400a8c0@D8Z3YR81> References: <004801c5ee1e$7193d330$6400a8c0@D8Z3YR81> Mime-Version: 1.0 (Apple Message framework v733) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: pgsql-php@postgresql.org Content-Transfer-Encoding: 7bit From: John DeSoi Subject: Re: postgres/php and windows Date: Mon, 21 Nov 2005 01:36:31 -0500 To: Dave Wayne X-Mailer: Apple Mail (2.733) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s5.a2hosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - pgedit.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/14 X-Sequence-Number: 3331 On Nov 20, 2005, at 5:04 PM, Dave Wayne wrote: > Does anyone know if there is a good guide for setting up php to > connect to postgres under windows? I've set up postgres, however > the PConnect function fails for some reason. Did you enable the pgsql dll in the php.ini file? The semicolon needs to be removed. ;extension=php_pgsql.dll If that does not solve it, give more specifics about the error. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL