Postgresql problem
Giandomenico De Tullio
ghisha at email.it
Sun Apr 18 18:53:39 UTC 2004
On 18/04/2004 04:32:18, gm wrote:
>
>
> Hey guys
>
> I get this error in php:
>
> Warning: pg_connect(): Unable to connect to PostgreSQL server: could
> not
> connect to server: Connection refused Is the server running on host
> localhost and accepting TCP/IP connections on port 5432? . in
> /www/index.php on line 7
>
> PHP code
>
> $conn = pg_connect("host=localhost user=***** password=****
> dbname=***** ");
>
remove "host=localhost" ?
More information about the fedora-list
mailing list