Re: Accessing Postgres db from apache using PHP

From: brew(at)theMode(dot)com
To: pgsql-php(at)postgresql(dot)org
Subject: Re: Accessing Postgres db from apache using PHP
Date: 2003-07-28 02:10:09
Message-ID: Pine.BSF.4.44.0307272200210.87583-100000@themode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice pgsql-php


Bruce......

> In my php code, I have....

I always have to fool around with this to get it right, too. One thing
that helps is to get it working using psql first, you may get better error
messages.

Also you should check pg_hba.conf to make sure postgresql is allowing
connections from localhost.

brew

==========================================================================
Strange Brew (brew(at)theMode(dot)com)
Check out my Musician's Online Database Exchange (The MODE Pages)
http://www.TheMode.com
==========================================================================

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Rod Taylor 2003-07-28 02:24:08 Re: [PHP] Accessing Postgres db from apache using PHP
Previous Message bruce 2003-07-28 01:00:14 Accessing Postgres db from apache using PHP

Browse pgsql-php by date

  From Date Subject
Next Message Rod Taylor 2003-07-28 02:24:08 Re: [PHP] Accessing Postgres db from apache using PHP
Previous Message bruce 2003-07-28 01:00:14 Accessing Postgres db from apache using PHP