Re: pg_connect(): Cannot create new link

From: Adam Alkins <postgresql(at)rasadam(dot)com>
To: mauro(dot)folcarelli(at)sistinf(dot)it
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: pg_connect(): Cannot create new link
Date: 2004-01-19 17:21:46
Message-ID: 400C122A.1010008@rasadam.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

Try replacing your php.ini file with a default distribution file.

mauro(dot)folcarelli(at)sistinf(dot)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(at)postgresql(dot)org
>
>
>
>
>

--
Adam Alkins
1-868-627-9115
http://www.rasadam.com

Attachment Content-Type Size
postgresql.vcf text/x-vcard 339 bytes

In response to

Browse pgsql-php by date

  From Date Subject
Next Message mauro.folcarelli 2004-01-20 07:46:21 Re: pg_connect(): Cannot create new link
Previous Message Enrico Ortmann 2004-01-19 08:27:11 Re: can't create db