|  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
 [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: Wed Jan 29 06:01:24 2020 UTC