From: Adam Alkins <postgresql@rasadam.com>
To: mauro.folcarelli@sistinf.it
Cc: pgsql-php@postgresql.org
Subject: Re: pg_connect(): Cannot create new link
Date: Mon, 19 Jan 2004 13:21:46 -0400
Message-ID: <400C122A.1010008@rasadam.com> (raw)
In-Reply-To: <OF59FF32EA.71E3C9D3-ONC1256E1B.00508E59@sistinf.it>
References: <OF59FF32EA.71E3C9D3-ONC1256E1B.00508E59@sistinf.it>
Try replacing your php.ini file with a default distribution file.
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?
>
>Thanks a lot.
>Mauro Folcarelli
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
>
>
>
>
--
Adam Alkins
1-868-627-9115
http://www.rasadam.comAttachments:postgresql.vcf (text/x-vcard, 337B) download
begin:vcard
fn:Adam Alkins
n:Alkins;Adam
org:Snikla enterprises;I.T.
adr:;;#8 French Street;Woodbrook;;;Trinidad and Tobago
email;internet:postgresql at (@) rasadam dot (.) com
title:PHP Programmer
tel;work:1-868-627-9115
tel;fax:1-868-627-9117
tel;cell:1-868-756-5173
x-mozilla-html:FALSE
url:http://www.snikla.com
version:2.1
end:vcard
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: postgresql@rasadam.com, mauro.folcarelli@sistinf.it
Subject: Re: pg_connect(): Cannot create new link
In-Reply-To: <400C122A.1010008@rasadam.com>
References: <OF59FF32EA.71E3C9D3-ONC1256E1B.00508E59@sistinf.it> <400C122A.1010008@rasadam.com>
* 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