X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 052B7D1B46A for ; Sat, 17 Jan 2004 01:07:42 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 36441-02 for ; Fri, 16 Jan 2004 21:07:14 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 7CD97D1B4A1 for ; Fri, 16 Jan 2004 21:06:49 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id i0H16mU6012252 for ; Sat, 17 Jan 2004 01:06:48 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id i0H14dcZ009166 for pgsql-php@postgresql.org; Sat, 17 Jan 2004 01:04:39 GMT From: ljb X-Newsgroups: comp.databases.postgresql.interfaces.php Subject: Re: pg_connect(): Cannot create new link Date: Sat, 17 Jan 2004 01:04:39 +0000 (UTC) Organization: Hub.Org Networking Services Lines: 25 Message-ID: References: X-Complaints-To: usenet@news.hub.org User-Agent: slrn/0.9.8.0 (Linux) To: pgsql-php@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/18 X-Sequence-Number: 2534 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.