php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8225 Suddenly doesnt allow multiple psql connections from one php page
Submitted: 2000-12-13 07:11 UTC Modified: 2001-02-13 12:12 UTC
From: roberth at webworqs dot com Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 4.0.3pl1 OS: BSD
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: roberth at webworqs dot com
New email:
PHP Version: OS:

 

 [2000-12-13 07:11 UTC] roberth at webworqs dot com
Since it seems that this version (4.0.3pl1) doesn't allow multiple PostgreSQL connections at the same time as earlier versions (this must be a bug), I had to change one line in the PHP code. So I recommend everyone who is going to compile PHP 4.0.3pl to do this:

Added one line in ext/pgsql/pgsql.c after -> if (PGG(default_link)!=-1) {

Add this line after that line ->
if (PGG(default_link)==id) return;

Someone, please update PHP so it doesn't include this bug anymore, its very nasty and messed up a lot of our websites which is using database a lot.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-13 12:12 UTC] thies@php.net
applied - thanx
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 19:01:28 2025 UTC