Skip site navigation (1) Skip section navigation (2)

Re: function not valid

From: Philipp Ottlinger <ottlinger(at)computer-systeme(dot)de>
To: Postgres Liste <pgsql-php(at)postgresql(dot)org>
Subject: Re: function not valid
Date: 2003-03-31 16:51:32
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-php
Devi Munandar wrote:
> ************************************

> Warning: pg_connect() unable to connect to PostgreSQL server: FATAL 1: No
> pg_hba.conf entry for host, user postgres, database pegawai in
> /var/www/html/pgclass/ on line 94

> Warning: pg_exec(): supplied argument is not a valid PostgreSQL link

> resource in /var/www/html/pgclass/ on line 155

> *****************************************

Did you compile PHP with postgresql-support ?

Furthermore you need to start and create a database - please follow the 
documentation of your postgresql package or see

After having started the database you have to adjust your local 
pg_hba.conf-File and restart the DB.
If this operation completed successfully try to add a dumyy user, which 
you use in your php to connect to the DB.


Philipp Ottlinger
cS Computer & Systeme GmbH
Menckenstr. 29

12169 Berlin
Tel. +49-30-79748317
Fax  +49-30-7226748

In response to

pgsql-php by date

Next:From: David C. BrownDate: 2003-03-31 17:00:04
Subject: Re: function not valid
Previous:From: Devi MunandarDate: 2003-03-31 10:39:11
Subject: function not valid

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group