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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-13 12:12 UTC] thies@php.net
applied - thanx
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 18:01:28 2024 UTC