WAPP - Can't connect to PostgreSQL using 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 [at] yahoo.com
rtmsoft [at] gmail.com
--
Sent via pgsql-php mailing list (pgsql-php [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php
Re: 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 [at] 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 [at] yahoo.com
> rtmsoft [at] gmail.com
>
> --
> Sent via pgsql-php mailing list (pgsql-php [at] postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-php
>
--
Strange Brew (brew [at] 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 [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php
Re: WAPP - Can't connect to PostgreSQL using 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=3D44905
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 [at] sigler.com
-----Original Message-----
From: pgsql-php-owner [at] postgresql.org
[mailto:pgsql-php-owner [at] postgresql.org] On Behalf Of Brew
Sent: Wednesday, June 25, 2008 9:21 AM
To: roche magsayo
Cc: pgsql-php [at] 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 [at] 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 [at] yahoo.com
> rtmsoft [at] gmail.com
>
> --
> Sent via pgsql-php mailing list (pgsql-php [at] postgresql.org) To make
> changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-php
>
--
Strange Brew (brew [at] 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 [at] postgresql.org) To make
changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php
--
Sent via pgsql-php mailing list (pgsql-php [at] postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-php
Re: WAPP - Can't connect to PostgreSQL using PHP
------=_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<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 [at] 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 [at] sigler.com
>
>
> -----Original Message-----
> From: pgsql-php-owner [at] postgresql.org
> [mailto:pgsql-php-owner [at] postgresql.org] On Behalf Of Brew
> Sent: Wednesday, June 25, 2008 9:21 AM
> To: roche magsayo
> Cc: pgsql-php [at] 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 [at] 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 [at] yahoo.com
> > rtmsoft [at] gmail.com
> >
> > --
> > Sent via pgsql-php mailing list (pgsql-php [at] postgresql.org) To make
> > changes to your subscription:
> > http://www.postgresql.org/mailpref/pgsql-php
> >
>
>
>
> --
>
> Strange Brew (brew [at] 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 [at] postgresql.org) To make
> changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-php
>
> --
> Sent via pgsql-php mailing list (pgsql-php [at] 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
<div>Hi,</div>
<div> </div>
<div>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. </div>
<div> </div>
<div>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 (<font color="#3366ff">http://<span class="url">sourceforge<strong>.</strong>net/projects/phppgadmin</span></font>) which is similar to but not as much userfriendly (atleast) like phpmyadmin.</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>Thanks and Regards,<br>Chandra-ASGI</div>
<div><br> </div>
<div class="gmail_quote">On Wed, Jun 25, 2008 at 10:32 AM, Jason Minion <jason.minion [at] sigler.com> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">There have been several issues with the PHP 5.2.6 windows binary build,<br>I would suggest backtracking to 5.2.5 if there are no other patch issues<br>
relevant to your use of the software on your Windows XP installation, or<br>using a combination of the dlls found in the 5.2.5 binary release for<br>the pgsql support.<br><br>Please see:<br><br>http://bugs.php.net/bug.php?id=44905<br>
<br>Unfortunately we have not had consistent success using the workarounds<br>described in the above bug thread, and the issue does not get a lot of<br>spotlight so it can be difficult and time-consuming for many individuals<br>
to recognize.<br><br>HTH,<br><br>Jason Minion<br><font color="#888888">jason.minion [at] sigler.com<br></font>
<div>
<div></div>
<div class="Wj3C7c"><br><br>-----Original Message-----<br>From: pgsql-php-owner [at] postgresql.org<br>[mailto:pgsql-php-owner [at] postgresql.org] On Behalf Of Brew<br>
Sent: Wednesday, June 25, 2008 9:21 AM<br>To: roche magsayo<br>Cc: pgsql-php [at] postgresql.org<br>Subject: Re: [PHP] WAPP - Can't connect to PostgreSQL using PHP<br><br>Roche.....<br>
<br>Try a brief script calling the phpinfo(); function to see if the module<br>to give php pgsql support is loaded. Since mysql works you should see<br>one called mysql - there should be another called pgsql or similar.<br>
<br>brew<br><br>On Wed, Jun 25, 2008 at 2:38 AM, roche magsayo <rtmsoft [at] gmail.com><br>wrote:<br>> Hello Everyone,<br>><br>> I am novice in using PostgreSQL 8.3.1, PHP 5.2.6, and Apache 2.2.9 but<br>
<br>> I manage to installed it in my Windows XP Pro laptop. However, when I<br>> my test my Apache installed its work. For PHP, it also work and i can<br>> even connect to MySQL database installed also in my laptop. But, when<br>
> I write a simple code to connect to PostgreSQL it does not work. Does<br>> anyone help me. Thank in advance.<br>><br>> --<br>> Roche Tumlad Magsayo<br>> rtmsoft [at] yahoo.com<br>
> rtmsoft [at] gmail.com<br>><br>> --<br>> Sent via pgsql-php mailing list (pgsql-php [at] postgresql.org) To make<br>> changes to your subscription:<br>
> http://www.postgresql.org/mailpref/pgsql-php<br>><br><br><br><br>--<br><br>Strange Brew (brew [at] theMode.com)<br><br>Check out my Stock Option website http://www.callpix.com and my<br>
Musicians Free Classified http://www.TheMode.com<br><br>--<br>Sent via pgsql-php mailing list (pgsql-php [at] postgresql.org) To make<br>
changes to your subscription:<br>http://www.postgresql.org/mailpref/pgsql-php<br><br></div></div>--<br>
<div>
<div></div>
<div class="Wj3C7c">Sent via pgsql-php mailing list (pgsql-php [at] postgresql.org)<br>To make changes to your subscription:<br>http://www.postgresql.org/mailpref/pgsql-php<br>
</div></div></blockquote></div><br>
------=_Part_9148_23568287.1214407916693--