Re: PHP cann't access to postgres databse - Mailing list pgsql-admin

From Iñigo Martinez Lasala
Subject Re: PHP cann't access to postgres databse
Date
Msg-id 1246002755.10910.3.camel@coyote
Whole thread Raw
In response to PHP cann't access to postgres databse  (donghe@caltech.edu)
List 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@caltech.edu
To: pgsql-admin@postgresql.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





pgsql-admin by date:

Previous
From: donghe@caltech.edu
Date:
Subject: Re: PHP cann't access to postgres databse
Next
From: Emanuel Calvo Franco
Date:
Subject: Re: Optimal Flexible Architecture or Optimal Configuration Layout for Postgres