Re: [PHP] [pgsql] connectivity problem

2004-07-18 Thread Jason Wong
On Sunday 18 July 2004 23:06, Ciprian Constantinescu wrote: > The file has to be only on the remote server (the one running the database) > or on my server also? On the server. You have not installed postgresql correctly. This is not a PHP issue. Refer to the postgresql docs, or ask on the postgr

Re: [PHP] [pgsql] connectivity problem

2004-07-18 Thread Ciprian Constantinescu
The file has to be only on the remote server (the one running the database) or on my server also? "Jurgen Stroo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Well, then something went wrong with your postgres installation. > This file should be somewhere in /etc (/etc/postgresql/p

Re: [PHP] [pgsql] connectivity problem

2004-07-18 Thread Jurgen Stroo
Well, then something went wrong with your postgres installation. This file should be somewhere in /etc (/etc/postgresql/pg_hba.conf for example). If this is your own system try to search for it, like this for example: find /etc -name pg_hba.conf If it is missing, you can create it yourself, but p

[PHP] [pgsql] connectivity problem

2004-07-18 Thread Ciprian Constantinescu
I have the following code [CODE] [/CODE] And when i run the script I get " Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: FATAL: missing or erroneous pg_hba.conf file" I have searched for pg_hba.conf, but I don't have it. Where should it be and what should