Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 60617650EDD for ; Wed, 25 Jun 2008 11:20:58 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 07173-09 for ; Wed, 25 Jun 2008 11:20:46 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.30]) by postgresql.org (Postfix) with ESMTP id 5BC45650EA1 for ; Wed, 25 Jun 2008 11:20:49 -0300 (ADT) Received: by yx-out-2324.google.com with SMTP id 8so563998yxb.73 for ; Wed, 25 Jun 2008 07:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=a+xlenMas8ceZsDJY9yQnp74kiJFkfvwEvvyhxY6Ok4=; b=OmPLDrEP+TT04HXfd5wqwOtUown66ly5UcjZDWe26LOvST/pHrS5JLojfnGNlb+0uR tbEPt2hXlSUEBiGNTrb9YcM3KRjdUYdjDJF6WZmt9Fz8hSmQmjExLxwFjyfBFWLet1vn IYXwase14OoCvRB4wJts12gFE9ozv6KiMUQY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=uQbM0peyXLwsYY8OCYTApnC6dVxYcLds72iiDmCHv4flwbHTrMtLiXuBLlvwjl4nNO rr9rXn4MYMv8j+th+fx87/DdL0f+wPWr4HCRiAmVCruc1J3sQOHPql3LTS+vaAApaNYi otsPMvbBbHk1yY4Nyr2mGuFgkcaXVGd5XknVI= Received: by 10.115.76.1 with SMTP id d1mr5754567wal.196.1214403645915; Wed, 25 Jun 2008 07:20:45 -0700 (PDT) Received: by 10.114.133.16 with HTTP; Wed, 25 Jun 2008 07:20:45 -0700 (PDT) Message-ID: <1d7288990806250720i3feaba41x95d5a9cc2638f8a@mail.gmail.com> Date: Wed, 25 Jun 2008 10:20:45 -0400 From: Brew To: "roche magsayo" Subject: Re: WAPP - Can't connect to PostgreSQL using PHP Cc: pgsql-php@postgresql.org In-Reply-To: <873a98c60806242338i270ae89bi65ed798b870aa4bc@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <873a98c60806242338i270ae89bi65ed798b870aa4bc@mail.gmail.com> X-Google-Sender-Auth: df0504aee2b1d20a X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200806/12 X-Sequence-Number: 3859 Roche..... Try a brief script calling the phpinfo(); function to see if the module to give php pgsql support is loaded. Since mysql works you should see one called mysql - there should be another called pgsql or similar. brew On Wed, Jun 25, 2008 at 2:38 AM, roche magsayo wrote: > Hello Everyone, > > I am novice in using PostgreSQL 8.3.1, PHP 5.2.6, and Apache 2.2.9 but > I manage to installed it in my Windows XP Pro laptop. However, when I > my test my Apache installed its work. For PHP, it also work and i can > even connect to MySQL database installed also in my laptop. But, when > I write a simple code to connect to PostgreSQL it does not work. Does > anyone help me. Thank in advance. > > -- > Roche Tumlad Magsayo > rtmsoft@yahoo.com > rtmsoft@gmail.com > > -- > Sent via pgsql-php mailing list (pgsql-php@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-php > -- Strange Brew (brew@theMode.com) Check out my Stock Option website http://www.callpix.com and my Musicians Free Classified http://www.TheMode.com