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.eduTo:
pgsql-admin@postgresql.orgSubject: [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