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 CC4FF9DC832 for ; Tue, 10 Jan 2006 03:16:39 -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 30895-02 for ; Tue, 10 Jan 2006 03:16:39 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id CFD2C9DC851 for ; Tue, 10 Jan 2006 03:16:36 -0400 (AST) Received: from themode.com (themode.com [161.58.169.198]) by svr4.postgresql.org (Postfix) with ESMTP id F18ED5AF097 for ; Tue, 10 Jan 2006 07:16:37 +0000 (GMT) Received: from localhost (bde@localhost) by themode.com (8.12.11/8.12.11) with ESMTP id k0A7GY89089087 for ; Tue, 10 Jan 2006 02:16:34 -0500 (EST) Date: Tue, 10 Jan 2006 02:16:34 -0500 (EST) From: brew@theMode.com X-X-Sender: mode@themode.com To: pgsql-php@postgresql.org Subject: Re: Having tough time getting php working for postgresql.. In-Reply-To: <20060109222300.40345.qmail@web33208.mail.mud.yahoo.com> Message-ID: References: <20060109222300.40345.qmail@web33208.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.67 required=5 tests=[AWL=0.120, NO_REAL_NAME=0.55] X-Spam-Score: 0.67 X-Spam-Level: X-Archive-Number: 200601/7 X-Sequence-Number: 3378 Jagan...... > But I want to get php working with pgsql so that I can do some web develoement. Check that you have php working using the php_info function. Place a file in your web area containing this: If php is working it should show a bunch of info. Read about the phpinfo() function at: http://php.net/manual/en/function.phpinfo.php You further need postgreSQL support. This is for the postgreSQL php functions. It should report this on the page, under the heading pgsql. If you don't have it, you'll have to figure out how to add it. If postgreSQL support shows on the phpinfo output the next step is to make a connection to the database. At which point are you having problems? I can't help you with Red Hat as I use Debian, but it must be similar. brew ========================================================================== Strange Brew (brew@theMode.com) Check out my Stock Option Covered Call website http://www.callpix.com and my Musician's Online Database Exchange http://www.TheMode.com ==========================================================================