Re: Persistent DB Connections with CGI - Via Java...
| From: | Joe Brown | Date: | Thu, 10 May 2001 00:37:00 +0000 |
| Subject: | Re: Persistent DB Connections with CGI - Via Java... | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-7422@lists.php.net to get a copy of this message | ||
""Dickerson, Monty"" <webjavapro@integrity.tamu.edu> wrote in message
news:902A38AEABA0D4119C9D0060081E7E4E5D30AB@integrity.tamu.edu...
> The Problem: php only runs reliably as a cgi on Windows, so it lacks
static
> DB connections.
This is a false statement. I have an implementation of apache/php SAPI
running in a production enviroinment against Oracle 8 database on an NT 4
server, w/out incident.
Took a week of studying the source to figure out why Oracle 8 was crashing,
but the thread-safe aspect is stable now, and I have an implementation in
production now. I can't speak for other db resources, but the others being
being cleaned up. PHP 4.0.6 will likely be very stable for all.
> 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.
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>