Help: connection closing PHP5 does not work
539877Oct 16 2006 — edited Mar 16 2007Hello,
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