Persistent DB Connections with CGI - Via Java...
| From: | Dickerson, Monty | Date: | Wed, 09 May 2001 19:54:17 +0000 |
| Subject: | Persistent DB Connections with CGI - Via Java... | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-7410@lists.php.net to get a copy of this message | ||
The Problem: php only runs reliably as a cgi on Windows, so it lacks static
DB connections.
Idea: Make all DB queries through a JavaBean, which uses a pool of shared
JDBC connections. Abstract this behind a php API (class with methods) to
hide its complexity.
Surely somebody has thought of this before :
If so is this solution available, free or commercially?
Monty.
> -----Original Message-----
> From: Tim Uckun [mailto:tim@diligence.com]
> Sent: Wednesday, May 09, 2001 2:31 PM
> To: php-windows@lists.php.net
> Subject: RE: [PHP-WIN] ISAPI
>
>
> At 12:13 PM 5/9/2001 -0700, Flint Doungchak wrote:
> >Tim,
> >
> >Unfortunately, the ISAPI module just isn't stable on this
> platform. Sorry.
>
> What is the prefered way to run PHP in windows? As a CGI? As
> an apache
> module? Aolserver?
>
> I would rather not run it as a CGI because I need persistent database
> connections.
>
> :wq
> Tim Uckun
> Due Diligence Inc. http://www.diligence.com/ Americas
> Background
> Investigation Expert.