Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 2000051

Re: [PHP3] php & oracle From: kev (kevin.porter <email protected>)
Date: 05/02/00

Well I can't _prove_ it to you, but I know that when I don't use
OCILogoff() I get lots of defunct Apache processes, and when I do use
OCILogoff() I don't get any defunct processes. This is all the proof I need
:)
Perhaps you should try proving yourself right (what makes you have the
opinion that the logoff() calls don't work?) before others try and prove
you wrong :)

- Kev

Keith Vance wrote:

> In my opinion, I don't think ocilogoff or ora_logoff work. But that's
> just my opinion, I would love someone to prove me wrong. It doesn't seem
> to return anything, and doesn't appear to log off.
>
> -----Original Message-----
> From: kev [mailto:kevin.porter <email protected>]
> Sent: Friday, April 28, 2000 4:17 AM
> To: kesl (my mailing lists)
> Cc: php3 <email protected>
> Subject: Re: [PHP3] php & oracle
>
> Hi,
>
> I normally use the OCILogoff() function at the end of every script. If I
> don't,
> I get a defunct Oracle process every time a page is served. I've no idea
> how
> this would apply to phplib. I've never used it. Out of interest, could
> you post
> a wee snippet of example code here showing how you access an Oracle DB
> with
> phplib.
>
> thanks,
>
> - Kev
>
> "kesl (my mailing lists)" wrote:
>
> > Has anyone played with PHP & Oracle yet? I am using PHPLIB routines to
> > access Oracle database - works great! But I am not sure if PHP closes
> > the connection when the script ends or do I have to be careful about
> > it?
> >
> > As far as I know with MySQL for example you dont have to think about
> > it.
> >
> > Thanks!
> >
> > Matjaz /kesl
> > ---
> > http://zastava.com/kesl
> >
> > --
> > PHP 3 Mailing List <http://www.php.net/>
> > To unsubscribe, send an empty message to
> php3-unsubscribe <email protected>
> > To subscribe to the digest, e-mail:
> php3-digest-subscribe <email protected>
> > To search the mailing list archive, go to:
> http://www.php.net/mailsearch.php3
> > To contact the list administrators, e-mail:
> php-list-admin <email protected>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe <email protected>
> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
> To search the mailing list archive, go to:
> http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>