Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

php 5 oci session wont end

432137Nov 1 2004 — edited Nov 1 2004
Using php5 on Apache, I connect to a remote oracle9 database on AIX. The DBA tells me that my sessions are not being closed when the script ends. I changed from oci_pconnect to oci_connect and, I tried oci_close (even though the manual says it does nothing) to see if it would close the session but it doesn't. If I just do an oci_connect (with no other oci function calls) and sleep for 10 seconds we see the session start and stop correctly. But, if I do a simple query (oci_parse, oci_execute, oci_fetch_assoc) the session doesn't end when the script finishes--cursors are closing correctly however. Can someone please point me in the right direction.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 29 2004
Added on Nov 1 2004
1 comment
377 views