Red Hat Bugzilla – Bug 111545
Connections to postgresql fail
Last modified: 2007-11-30 17:10:34 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Description of problem:
Connections to postgresql database fails with:
"Cannot create new link. Too many open links (0)"
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.create postgresql database
2.create php page to access postgresql database
3.access php page with browser
Actual Results: Cannot create new link. Too many open links (0)
Expected Results: I expected to get the proper php output.
This is caused by duplicate "extension=pgsql.so" directives, once in
/etc/php.ini and again in /etc/php.d/pgsql.ini.
I assume one will have the same problem with LDAP and IMAP, as these
directives are also duplicated.
As a workaround, one should comment out the extension directives
There are no extension= lines in /etc/php.ini as shipped in the php
package; these may be left over from an old version.
Apologies. You are correct. I missed the php.ini.rpmnew file that
*** Bug 113836 has been marked as a duplicate of this bug. ***
Reopend to mark as duplicate.
Excuse the noise: reopened again to *really* mark as duplicate.
*** This bug has been marked as a duplicate of 112470 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.