|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22547 oci_close_session problem
Submitted: 2003-03-05 04:17 UTC Modified: 2003-07-04 02:08 UTC
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: php at harsani dot sk Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: 4.3.2-dev OS: windows 5.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: php at harsani dot sk
New email:
PHP Version: OS:


 [2003-03-05 04:17 UTC] php at harsani dot sk
Warning: _oci_close_session: OCISessionEnd:
OCI_INVALID_HANDLE in Unknown on line 0

will be printed if at least one
persistent connection is made and some
non-persistent connection is closed.

but connection is closed ok. just php 
at the end of execution tried to close
already closed connection.

$db1 = ociplogon('test', 'test');
$db2 = ocinlogon('test', 'test');
$db3 = ocinlogon('test', 'test');


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-03-05 06:49 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.

Get 4.3.1.

 [2003-03-07 01:56 UTC]
this bug also occurs with PHP4.3.0
 [2003-03-10 03:00 UTC]
Here's the output with ociinternaldebug = on:

OCIDebug: _oci_open_server new conn=0
OCIDebug: _oci_open_session new sess=2 user=cubixdev
OCIDebug: oci_do_connect: id=3

OCIDebug: _oci_open_session new sess=4 user=cubixdev
OCIDebug: oci_do_connect: id=5
OCIDebug: START _oci_conn_list_dtor: id=5
OCIDebug: nothing to do..
OCIDebug: START _oci_close_session: logging-off sess=4
OCIDebug: END _oci_conn_list_dtor: id=5

OCIDebug: _oci_open_session new sess=6 user=cubixdev
OCIDebug: oci_do_connect: id=7

OCIDebug: START php_rshutdown_oci
OCIDebug: END php_rshutdown_oci
OCIDebug: START _oci_conn_list_dtor: id=3
OCIDebug: nothing to do..
OCIDebug: START _oci_close_session: logging-off sess=6
OCIDebug: END _oci_conn_list_dtor: id=3
OCIDebug: START _oci_conn_list_dtor: id=7
OCIDebug: nothing to do..
OCIDebug: END _oci_conn_list_dtor: id=7
OCIDebug: START _oci_close_session: logging-off sess=6

Warning: _oci_close_session: OCISessionEnd: OCI_INVALID_HANDLE in Unknown on line 0
OCIDebug: START php_mshutdown_oci
OCIDebug: START _oci_close_server: detaching conn=1
OCIDebug: END php_mshutdown_oci
 [2003-03-11 01:40 UTC]
I tried it with a stable snapshot from 11.03.2003 and the problem still exists.
 [2003-07-04 02:08 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 05 15:01:31 2024 UTC