PHP 4.0 Bug #8225: Suddenly doesnt allow multiple psql connections from one php page
| From: | roberth at webworqs dot com | Date: | Wed, 13 Dec 2000 12:11:30 +0000 |
| Subject: | PHP 4.0 Bug #8225: Suddenly doesnt allow multiple psql connections from one php page | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41165@lists.php.net to get a copy of this message | ||
From: roberth@webworqs.com
Operating system: BSD
PHP version: 4.0.3pl1
PHP Bug Type: PostgreSQL related
Bug description: Suddenly doesnt allow multiple psql connections from one php page
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.
--
Edit Bug report at: http://bugs.php.net/?id=8225&edit=1