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 AB2BB9DC839 for ; Wed, 11 Jan 2006 18:17:31 -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 02938-04 for ; Wed, 11 Jan 2006 18:17:32 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web33301.mail.mud.yahoo.com (web33301.mail.mud.yahoo.com [68.142.206.116]) by postgresql.org (Postfix) with SMTP id D7CF09DC804 for ; Wed, 11 Jan 2006 18:17:28 -0400 (AST) Received: (qmail 2347 invoked by uid 60001); 11 Jan 2006 22:17:31 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=YtLHuAYv8Qlkm/fngLj/yNWZxeaJb7TyhvxJcA9l4r0R+BckRcEHPwAw5qHhps6L+FTwYqjJ2WxB5RmLa/nG1F8Uo1bbq+EewoI4WeXZOW0cY29ZRzIoRcd9TIWtwna9BKblljcteKA2aEViTzV1JucgmubipA4f04+oOrcg350= ; Message-ID: <20060111221731.2345.qmail@web33301.mail.mud.yahoo.com> Received: from [12.9.179.126] by web33301.mail.mud.yahoo.com via HTTP; Wed, 11 Jan 2006 14:17:31 PST Date: Wed, 11 Jan 2006 14:17:31 -0800 (PST) From: Subject: Re: Having tough time getting php working for postgresql.. To: Patrick White , pgsql-php@postgresql.org 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=0.976 required=5 tests=[AWL=-0.053, DNS_FROM_RFC_ABUSE=0.479, NO_REAL_NAME=0.55] X-Spam-Score: 0.976 X-Spam-Level: X-Archive-Number: 200601/32 X-Sequence-Number: 3403 > Hello, > > I was having trouble with setting up php-pgsql, but > I think I have it > up and running. Before I attempt to move forward > with attempting to > code without knowing if the environment is setup > correctly, does > anybody know what exactly I am looking for in the > phpinfo() tables. I > did a find for pgsql, postgre, etc. and didn't find > anything. > > I am running Windows XP Pro, Apache 2, PHP 5.1.1, > PostgreSQL 8.0. > > Thank you in advance. > > Patrick 1. test for the apache test page (prior to php install). 2. test that phpinfo() displays (after php install). 3. edit->find to search for "sql" until you find the reference to postgresql. it should tell you what version you are using. of course, this is after pgsql has been installed. i also discuss how to use pgadminIII to test that pgsql is working in the link to the install instructions i posted earlier today. once you get everything set up, you may want to consider a db abstraction layer (i use adodb and find it quite robust) and a forms generation and validation class (i use manuel lemos' from phpclasses.org). it is also very nice. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com