Re: [PHP4BETA] OCI8 persistant connections fail after database restarted
| From: | Kevin Hendrix | Date: | Wed, 10 May 2000 14:29:04 +0000 |
| Subject: | Re: [PHP4BETA] OCI8 persistant connections fail after database restarted | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14745@lists.php.net to get a copy of this message | ||
Hi.
We are using TCP connections. It should be possible to do this ... when PLogon
is called, the auth credentials are passed back in, so they should not need to
be cached between scripts. The first real oracle interaction that failed on
the pconn (probably a parse) could trigger a single attempt at reconnect,
failing with appropriate error condition if the reconnect fails... It'd be
complex, but not impossible.
Just an idea...
kevin
khendrix@pennypi.com
thies@digicol.de wrote:
>
> On Mon, May 08, 2000 at 12:49:42PM -0500, Kevin Hendrix wrote:
> > The subject pretty much says it all. I've got a Redhat 6.2 box running
> > Secure Web Server 3.2 (Apache 1.3.12) and PHP4RC1 using persistant connections
> > to an Oracle 8i server on another box.
> >
> > When the 8i server is restarted, all PHP persistant connections that were
> > pinned up before the 8i reboot continue to fail. Shouldn't there be some
> > error recovery built in that wouldn't require an apache restart?
>
> that's what should happen - i'll have to dig into that.
>
> what connection Net8 connection are u using? beq, tcp, ipc
>
> >
> > kevin
> > khendrix@pennypi.com
> >
> > --
> > PHP 4.0 Beta Mailing List
> > <http://www.php.net/version4/>
> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> > For additional commands, e-mail: php4beta-help@lists.php.net
> > To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
> --
>
> Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
> Digital Collections Phone +49 40 235350 Fax +49 40 23535180
> Hammerbrookstr. 93 20097 Hamburg / Germany
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net