After working with PHP and MySQL and Firebird quite a while I need to
install PostgreSQL. After installation I made a new build of PHP to
PostgreSQL. I looked over the ini files and re-started Apache.
With psql I can connect like: "psql -h localhost ...". But not any
seen with PHP. I even just made a small script with just two echo lines
a pg_pconnect() / pg_connect().
This is the error Message I get: "Warning: pg_pconnect(): Cannot create
link. Too many open links (0). in /www/test.php on line 5".
I get this message no matter what connection string I use. Even if I
it totally blank or put some nonsense in, I get the same error.
Any hint appreciated - Thanks in advance! Johannes
Red Hat 9
PHP Version 4.3.4
PostgreSQL libpq 7.3.4
local all all trust
host all all 127.0.0.1 255.255.255.255 trust
pgsql-php by date
|Next:||From: Adam Alkins||Date: 2004-01-28 11:46:53|
|Subject: Re: PHP and PostgreSQL: Cannot create new link. Too many open|
|Previous:||From: Robert Treat||Date: 2004-01-26 16:05:45|
|Subject: Re: Can't connect to phppgadmin|