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
 [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 10:01:31 2024 UTC