Re: pg_connect(): ...Too many open links (0)

From: James Ward <jamesNOwardSPAM(at)optushome(dot)com(dot)au>
To: pgsql-php(at)postgresql(dot)org
Subject: Re: pg_connect(): ...Too many open links (0)
Date: 2003-09-15 12:21:06
Message-ID: 3f65aeb2$0$28898$afc38c87@news.optusnet.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

And for info the command I'm using is:

$postgres = pg_connect("host=localhost port=5432 dbname=hector
user=hector");

James

James Ward wrote:

> Hi all,
> I've searched high and low on the web and the group for the following
> error:
>
> pg_connect(): Cannot create new link. Too many open links (0)
>
> I have checked phpinfo and it says max_links is unlimited, and so is
> max_persistent.
>
> It's got to be something obvious - but I can't see it.
>
> How can I have too many links open if this is the first one!?!
>
> I'm running postgres 7.3.4 and php 4.3.3.
>
> I can access the database using pgAdmin - so I don't think it isn't a
> permissions problem. I've got tcp/ip access enabled.
>
> All help appreciated,
> James

In response to

Browse pgsql-php by date

  From Date Subject
Next Message scott.marlowe 2003-09-15 17:05:25 Re:
Previous Message James Ward 2003-09-15 12:18:48 pg_connect(): ...Too many open links (0)