Re: pg_connect(): ...Too many open links (0) - Mailing list pgsql-php

From James Ward
Subject Re: pg_connect(): ...Too many open links (0)
Date
Msg-id 3f65aeb2$0$28898$afc38c87@news.optusnet.com.au
Whole thread Raw
In response to pg_connect(): ...Too many open links (0)  (James Ward <jamesNOwardSPAM@optushome.com.au>)
List 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


pgsql-php by date:

Previous
From: James Ward
Date:
Subject: pg_connect(): ...Too many open links (0)
Next
From: "Brion Wikes"
Date:
Subject: Re: Interview questions?