Re: PHP cann't access to postgres databse

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes, I did configured these two files, so, PHP can talk with postgres, but
Apache-owned PHP can not.

> On Thu, Jun 25, 2009 at 6:54 PM, <donghe@xxxxxxxxxxx> 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.
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin
>



-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux