pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
WAPP - Can't connect to PostgreSQL using PHP
4+ messages / 4 participants
[nested] [flat]

* WAPP - Can't connect to PostgreSQL using PHP
@ 2008-06-25 06:38  roche magsayo <rtmsoft@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: roche magsayo @ 2008-06-25 06:38 UTC (permalink / raw)
  To: pgsql-php

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: WAPP - Can't connect to PostgreSQL using PHP
@ 2008-06-25 14:20  Brew <brew@theMode.com>
  parent: roche magsayo <rtmsoft@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Brew @ 2008-06-25 14:20 UTC (permalink / raw)
  To: roche magsayo <rtmsoft@gmail.com>; +Cc: pgsql-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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: WAPP - Can't connect to PostgreSQL using PHP
@ 2008-06-25 14:32  Jason Minion <jason.minion@sigler.com>
  parent: Brew <brew@theMode.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Jason Minion @ 2008-06-25 14:32 UTC (permalink / raw)
  To: Brew <brew@theMode.com>; roche magsayo <rtmsoft@gmail.com>; +Cc: pgsql-php

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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: WAPP - Can't connect to PostgreSQL using PHP
@ 2008-06-25 15:31  Chandra ASGI Tech <chandraasgi@gmail.com>
  parent: Jason Minion <jason.minion@sigler.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Chandra ASGI Tech @ 2008-06-25 15:31 UTC (permalink / raw)
  To: Jason Minion <jason.minion@sigler.com>; +Cc: Brew <brew@themode.com>; roche magsayo <rtmsoft@gmail.com>; pgsql-php

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<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 <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
>

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2008-06-25 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-06-25 06:38 WAPP - Can't connect to PostgreSQL using PHP roche magsayo <rtmsoft@gmail.com>
2008-06-25 14:20 ` Brew <brew@theMode.com>
2008-06-25 14:32   ` Jason Minion <jason.minion@sigler.com>
2008-06-25 15:31     ` Chandra ASGI Tech <chandraasgi@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox