note 26078 added to function.odbc-connect

From: Date: Thu, 17 Oct 2002 05:09:13 +0000
Subject: note 26078 added to function.odbc-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-38195@lists.php.net to get a copy of this message
I'm using PHP 4.2.1 with unixODBC and FreeTDS to connect to MSSQL 7.0 and MSSQL 2000 servers. I have a problem with the database connection not being closed by PHP. I've tried combinations of odbc_connect, odbc_pconnect, odbc_close, odbc_close_all, and not calling any close function. ( the documentation claims the connection will close automaticaly when the script terminates ) All combinations I've tried leave an open connection on the server. If I use the 'isql' program, again with unixODBC and FreeTDS, I do not have this problem. I've had the same problem on RH7.0 and RH7.3 and with PHP 4.0 to 4.1.2. What's up? -- http://www.php.net/manual/en/function.odbc-connect.php http://master.php.net/manage/user-notes.php?action=edit+26078 http://master.php.net/manage/user-notes.php?action=delete+26078 http://master.php.net/manage/user-notes.php?action=reject+26078

« previous php.notes (#38195) next »