Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 5F005650E9E for ; Wed, 25 Jun 2008 12:32:32 -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 87838-04-2 for ; Wed, 25 Jun 2008 12:32:05 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from hs-out-0708.google.com (hs-out-0708.google.com [64.233.178.247]) by postgresql.org (Postfix) with ESMTP id 1D9F7650EFC for ; Wed, 25 Jun 2008 12:31:59 -0300 (ADT) Received: by hs-out-0708.google.com with SMTP id x43so759110hsb.3 for ; Wed, 25 Jun 2008 08:31:57 -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:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=WqqMr6rghegnky2PTHaqRisorFNDC5vqIe98QXNb6Zw=; b=X4Hb1uY9lhz8duag/XofDw1g8BzMiaidY21hlzXz11iMkVEBOzDD/qzYEyiep5kAis Tsqon5acinytcIQWa81yM/P3MgFPxAUT/rkebfYKPWwLCq5+1Q9efQwbYNUZUHGGXdYb RkZBHHUM0bB9e42oFjf67o9odzy7jSADr45Ac= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=jtoOVMyaehv9idQJ5L4YZAV3eib2FhrON5VSwH/nbCD4dQ0AHsR6tcPyH+maA2iDm2 N9rjwlqyiAfNQPrjFPP7dKse4SAAZAjx5K0AKgsfLgiAA3WVObK0zS4xs3l6N1OJIGaF mayg20gO80sxAFU+rSC9APVUibpCcQyuEe1b0= Received: by 10.100.94.14 with SMTP id r14mr18493624anb.158.1214407916695; Wed, 25 Jun 2008 08:31:56 -0700 (PDT) Received: by 10.101.70.4 with HTTP; Wed, 25 Jun 2008 08:31:56 -0700 (PDT) Message-ID: Date: Wed, 25 Jun 2008 11:31:56 -0400 From: "Chandra ASGI Tech" To: "Jason Minion" Subject: Re: WAPP - Can't connect to PostgreSQL using PHP Cc: Brew , "roche magsayo" , pgsql-php@postgresql.org In-Reply-To: <261CF9EEB14F5442894AB6DDA93AA6F4E2928F@mail.siglercompanies.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9148_23568287.1214407916693" References: <873a98c60806242338i270ae89bi65ed798b870aa4bc@mail.gmail.com> <1d7288990806250720i3feaba41x95d5a9cc2638f8a@mail.gmail.com> <261CF9EEB14F5442894AB6DDA93AA6F4E2928F@mail.siglercompanies.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200806/14 X-Sequence-Number: 3861 ------=_Part_9148_23568287.1214407916693 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I am using WAMPServer 2 (http://www.wampserver.com/en/index.php) - which provides a good development environment for Windows based Apache - PHP. It allows you to install almost all the existing releases( http://www.wampserver.com/en/add-ons.php) of Apache, PHP (and MySQL) and configure them easily - so that you can enable the MySQL or PgSQL modules as you want in your PHP extensions. I have PostgreSQL 8.2.4 and WampServer2 (Apache 2.2.6 and PHP 5.2.5) installed on my XP laptop and it works fine. I also use phppgadmin (http:// sourceforge*.*net/projects/phppgadmin) which is similar to but not as much userfriendly (atleast) like phpmyadmin. Though I have not used myself, I still know that WampServer allows you to install * any number of * latest releases of Apache and PHP and configure and switch between them. Thanks and Regards, Chandra-ASGI On Wed, Jun 25, 2008 at 10:32 AM, Jason Minion wrote: > There have been several issues with the PHP 5.2.6 windows binary build, > I would suggest backtracking to 5.2.5 if there are no other patch issues > relevant to your use of the software on your Windows XP installation, or > using a combination of the dlls found in the 5.2.5 binary release for > the pgsql support. > > Please see: > > http://bugs.php.net/bug.php?id=44905 > > Unfortunately we have not had consistent success using the workarounds > described in the above bug thread, and the issue does not get a lot of > spotlight so it can be difficult and time-consuming for many individuals > to recognize. > > HTH, > > Jason Minion > jason.minion@sigler.com > > > -----Original Message----- > From: pgsql-php-owner@postgresql.org > [mailto:pgsql-php-owner@postgresql.org] On Behalf Of Brew > Sent: Wednesday, June 25, 2008 9:21 AM > To: roche magsayo > Cc: pgsql-php@postgresql.org > Subject: Re: [PHP] WAPP - Can't connect to PostgreSQL using PHP > > 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 > > -- > Sent via pgsql-php mailing list (pgsql-php@postgresql.org) To make > changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-php > > -- > Sent via pgsql-php mailing list (pgsql-php@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-php > ------=_Part_9148_23568287.1214407916693 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
Hi,
 
I am using WAMPServer 2 (http://www.wampserver.com/en/index.php) - which provides a good development environment for Windows based Apache - PHP.  It allows you to install almost all the existing releases(http://www.wampserver.com/en/add-ons.php) of Apache, PHP (and MySQL)  and configure them easily - so that you can enable the MySQL or PgSQL modules as you want in your PHP extensions.
 
I have PostgreSQL 8.2.4 and WampServer2 (Apache 2.2.6 and PHP 5.2.5) installed on my XP laptop and it works fine. I also use phppgadmin (http://sourceforge.net/projects/phppgadmin) which is similar to but not as much userfriendly (atleast) like phpmyadmin.
 
Though I have not used myself, I still know that WampServer allows you to install * any number of * latest releases of Apache and PHP and configure and switch between them.
 
Thanks and Regards,
Chandra-ASGI

 
On Wed, Jun 25, 2008 at 10:32 AM, Jason Minion <jason.minion@sigler.com> wrote:
There have been several issues with the PHP 5.2.6 windows binary build,
I would suggest backtracking to 5.2.5 if there are no other patch issues
relevant to your use of the software on your Windows XP installation, or
using a combination of the dlls found in the 5.2.5 binary release for
the pgsql support.

Please see:

http://bugs.php.net/bug.php?id=44905

Unfortunately we have not had consistent success using the workarounds
described in the above bug thread, and the issue does not get a lot of
spotlight so it can be difficult and time-consuming for many individuals
to recognize.

HTH,

Jason Minion
jason.minion@sigler.com


-----Original Message-----
From: pgsql-php-owner@postgresql.org
[mailto:pgsql-php-owner@postgresql.org] On Behalf Of Brew
Sent: Wednesday, June 25, 2008 9:21 AM
To: roche magsayo
Cc: pgsql-php@postgresql.org
Subject: Re: [PHP] WAPP - Can't connect to PostgreSQL using PHP

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 <rtmsoft@gmail.com>
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

--
Sent via pgsql-php mailing list (pgsql-php@postgresql.org) To make
changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php

--
Sent via pgsql-php mailing list (pgsql-php@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php

------=_Part_9148_23568287.1214407916693--