From: ljb <ljb220@mindspring.com>
To: pgsql-php@postgresql.org
Subject: Re: pg_connect(): Cannot create new link
Date: Sat, 17 Jan 2004 01:04:39 +0000 (UTC)
Message-ID: <bua1n6$jo$1@news.hub.org> (raw)
References: <OF59FF32EA.71E3C9D3-ONC1256E1B.00508E59@sistinf.it>
mauro.folcarelli@sistinf.it wrote:
> I have the same problem posted by James Ward (Date: Mon, 15 Sep 2003)
>
> I migrated from (postgresql-7.3.2-3 and php-4.2.2-17) to
> (postgresql-7.3.4-2 and php-4.3.3-6).
>
> When I connect to the Database via php, I get the following message:
>
> Warning: pg_connect(): Cannot create new link. Too many open links (0).
>
> I didn't change any configuration file: everything used to work.
> It's the first connection to the database
> (max connections should be 32 by default).
>
> Is it a bug ? Any solution?
> Is there a chance to bypass it?
Did you check for the same situation which was causing him the problem?
He wrote:
:: I had installed the latest version of PHP with postgres support built-in.
:: But in the previous version I had those sorts of extensions as shared
:: extensions.
:: Because none of the config files had changed it was still loading the OLD
:: extensions.
:: Once I deleted them it worked fine.
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: ljb220@mindspring.com
Subject: Re: pg_connect(): Cannot create new link
In-Reply-To: <bua1n6$jo$1@news.hub.org>
References: <OF59FF32EA.71E3C9D3-ONC1256E1B.00508E59@sistinf.it> <bua1n6$jo$1@news.hub.org>
* 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