pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: James Ward <jamesNOwardSPAM@optushome.com.au>
To: pgsql-php@postgresql.org
Subject: Re: pg_connect(): ...Too many open links (0)
Date: Mon, 15 Sep 2003 22:21:06 +1000
Message-ID: <3f65aeb2$0$28898$afc38c87@news.optusnet.com.au> (raw)
References: <3f65ae28$0$28898$afc38c87@news.optusnet.com.au>

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




view thread (2+ messages)

Message-ID: <3f65aeb2$0$28898$afc38c87@news.optusnet.com.au>
Permalink:  ../3f65aeb2$0$28898$afc38c87@news.optusnet.com.au/
Also on:    postgresql.org/message-id/3f65aeb2$0$28898$afc38c87@news.optusnet.com.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: jamesNOwardSPAM@optushome.com.au
  Subject: Re: pg_connect(): ...Too many open links (0)
  In-Reply-To: <3f65aeb2$0$28898$afc38c87@news.optusnet.com.au>
  References: <3f65ae28$0$28898$afc38c87@news.optusnet.com.au> <3f65aeb2$0$28898$afc38c87@news.optusnet.com.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox