[PHP-DEV] Bug #1090: Sybase persistent connections can't handle server restart From: ryan <email protected>
Date: 01/24/99

From: ryan <email protected>
Operating system: RedHat Linux 5.2 w/ 2.2.0-pre7 kernel
PHP version: 3.0.6
PHP Bug Type: Sybase-ct (ctlib) related
Bug description: Sybase persistent connections can't handle server restart

When PHP uses persistent Sybase connections (not sure about other databases), it can get into trouble if the server shuts down or restarts. PHP thinks the connection is still live (even though the socket is closed and CT-Lib reports that the connection isn't live anymore), and sybase_pconnect() continues to return a previous persistent connection without reopening a new CT-Lib session.. Not a real high-priority bug, but makes life interesting if you have to restart Sybase on a busy server, or if Sybase goes down (requiring a restart of Apache on all PHP machines that connect to the database). Other than that, PHP really kicks ass for rapid web database development with Sybase support!

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>