note 83607 deleted from function.odbc-pconnect by nlopess
| From: | nlopess@php.net | Date: | Mon, 09 Jun 2008 19:28:21 +0000 |
| Subject: | note 83607 deleted from function.odbc-pconnect by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-140285@lists.php.net to get a copy of this message | ||
Note Submitter: Tony
----
Simple question: Can't find any way to actually close (or reconnect) a persistent odbc
connection. Problem is that the Oracle database here sometimes goes down and the persistent
connection from php ends up in nowhere. Only solution is to restart Apache, which (in my opinion) is
not a good solution.
Any inactivity time out settings on the database server side would render useless, since the
database is not aware of this connection any longer.
Is there maybe some setting in the ODBC client or in php.ini that I have missed?
Any suggestions very much appreciated...