|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #51865 Make use of Apache httpd 2.2's mod_dbd connection pooling
Submitted: 2010-05-20 02:12 UTC Modified: 2010-08-16 22:19 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: i dot galic at brainsware dot org Assigned: kalle (profile)
Status: Closed Package: *Database Functions
PHP Version: 5.3.2 OS: Any
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.
Block user comment
Status: Assign to:
Bug Type:
From: i dot galic at brainsware dot org
New email:
PHP Version: OS:


 [2010-05-20 02:12 UTC] i dot galic at brainsware dot org
Due to the fact that PHP doesn't really have pooled DB connections, or at least doesn't seem to be able to handle them: I was wondering if it would be possible to implement connection pooling using the apr_dbd API as provided by httpd, which can be configured via httpd.conf with mod_dbd.

IMO, this would get the LAMP stack a bit closer to being an Application Server.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-08-16 22:19 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: kalle
 [2010-08-16 22:19 UTC]
One should implement this as an extension like mysqlnd is implemented, allowing others to inherit from the abstraction code. Its quite possible such a thing might come up in PECL, but for the Core PHP its not very likely that any of us are going to work on it.

Also you have to keep in mind that it requires alot of changes to allow connection pooling while under Apache, and at the same time allowing an extension to use another, non Apache based webserver, like IIS to work with. Else the extension would get way too limited.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Jan 28 21:01:25 2020 UTC