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!

Help: connection closing PHP5 does not work

539877Oct 16 2006 — edited Mar 16 2007
Hello,

I'm migrating a well functionning PHP4 application to PHP5 (5.1.4, Apache 2.2). It works fine except the fact that the connection are not released at the end of the script nor when the oci_close function is called. In fact it is closed on PHP side but not on Oracle/Apache. Note: I don't use the persitent connections (but normal oci_connect).

The application reaches very quickly the max number of sessions as the database does not have a session timeout. It's a company policy :-((

I've spend the whole day on the net and found a lot of things (PHP bug #29902) and tried several configurations (even the KeepAlive, and other parmeters...).

I don't understand why it works well on PHP4 and not on PHP5 !!!
Does anyone have a suggestion that might work in my case to solve my problem ?

Thanks very much
Matt
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 13 2007
Added on Oct 16 2006
8 comments
5,167 views