Closing persistent ODBC connections
| From: | Dodot | Date: | Mon, 25 Jul 2005 09:28:44 +0000 |
| Subject: | Closing persistent ODBC connections | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-219293@lists.php.net to get a copy of this message | ||
Hello everyone,
The php manual isn't very clear about when and how ODBC persistent
connection are actually closed.
I tried with odbc_close_all() but I'm not sure it really closes the
connection, since the next call to odbc_pconnect() will be faster than
before!
The problem is that regularly I really need to close all connections
to the ODBC for maintenance... And I would like to do this without
shutting down apache ;)
Thanks for all your advices!
Jean-Francois, 22, France.