note 83607 added to function.odbc-pconnect

From: Date: Wed, 04 Jun 2008 11:28:38 +0000
Subject: note 83607 added to function.odbc-pconnect
Groups: php.notes 
Request: Send a blank email to php-notes+get-140109@lists.php.net to get a copy of this message
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... ---- Server IP: 69.147.83.197 Probable Submitter: 81.168.79.233 ---- Manual Page -- http://www.php.net/manual/en/function.odbc-pconnect.php Edit -- https://master.php.net/note/edit/83607 Del: integrated -- https://master.php.net/note/delete/83607/integrated Del: useless -- https://master.php.net/note/delete/83607/useless Del: bad code -- https://master.php.net/note/delete/83607/bad+code Del: spam -- https://master.php.net/note/delete/83607/spam Del: non-english -- https://master.php.net/note/delete/83607/non-english Del: in docs -- https://master.php.net/note/delete/83607/in+docs Del: other reasons-- https://master.php.net/note/delete/83607 Reject -- https://master.php.net/note/reject/83607 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#140109) next »