tags:

views:

52

answers:

1

Hi, I would like to use mod_dbd to implement connection pooling for my php application. I am able to define the mod_dbd module for apache and I can see the connections that it is opening, but I am not able to "hook on" those connections with my php code. I was trying mysql_connect with parameters and without as well as mysql_pconnect.

Welcome any advice,

Ariel

A: 

http://bugs.php.net/bug.php?id=51865&edit=1

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.

Just quoting from what I googled

Phill Pafford