Re: PHP cann't access to postgres databse

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: donghe(at)caltech(dot)edu
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: PHP cann't access to postgres databse
Date: 2009-06-26 01:29:13
Message-ID: dcc563d10906251829i3ca78fc0xdfacf76b2c6f4998@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Jun 25, 2009 at 6:54 PM, <donghe(at)caltech(dot)edu> wrote:
> Hi gurus!
>
> my PHP scripts don't call upon the postgres database from within HTML
> files served to web browsers by Apache, but PHP scritps itself can access
> to database. I guess some configuration between PHP and Apache is wrong.
> Do anybody have any idea?
> Thanks!

Yeah, you're looking for pg_hba.conf and postgresql.conf.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message donghe 2009-06-26 03:12:01 Re: PHP cann't access to postgres databse
Previous Message donghe 2009-06-26 00:54:43 PHP cann't access to postgres databse