Re: PHP cann't access to postgres databse

From: Iñigo Martinez Lasala <imartinez(at)vectorsf(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: PHP cann't access to postgres databse
Date: 2009-06-26 07:52:35
Message-ID: 1246002755.10910.3.camel@coyote
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Some linux distros (debian, for example) have two php.ini files, one for
php scripts and a second one for Apache2 config.
Perhaps you have lost one of these files...

I assume you have installed mod-php for Apache.

-----Original Message-----
From: donghe(at)caltech(dot)edu
To: pgsql-admin(at)postgresql(dot)org
Subject: [ADMIN] PHP cann't access to postgres databse
Date: Thu, 25 Jun 2009 17:54:43 -0700 (PDT)

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!

Dong He

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Ankur Sam 2009-06-26 11:38:46 Restricting administrator's DB access
Previous Message donghe 2009-06-26 03:12:01 Re: PHP cann't access to postgres databse