pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_connect(): ...Too many open links (0)
2+ messages / 1 participants
[nested] [flat]

* pg_connect(): ...Too many open links (0)
@ 2003-09-15 12:18  James Ward <jamesNOwardSPAM@optushome.com.au>
  0 siblings, 1 reply; 2+ messages in thread

From: James Ward @ 2003-09-15 12:18 UTC (permalink / raw)
  To: pgsql-php

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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_connect(): ...Too many open links (0)
@ 2003-09-15 12:21  James Ward <jamesNOwardSPAM@optushome.com.au>
  parent: James Ward <jamesNOwardSPAM@optushome.com.au>
  0 siblings, 0 replies; 2+ messages in thread

From: James Ward @ 2003-09-15 12:21 UTC (permalink / raw)
  To: 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-09-15 12:21 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-15 12:18 pg_connect(): ...Too many open links (0) James Ward <jamesNOwardSPAM@optushome.com.au>
2003-09-15 12:21 ` James Ward <jamesNOwardSPAM@optushome.com.au>

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