Bug #1090: Sybase persistent connections can't handle server restart
| From: | ryan at sunsetd dot com | Date: | Sun, 24 Jan 1999 09:46:55 +0000 |
| Subject: | Bug #1090: Sybase persistent connections can't handle server restart | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3700@lists.php.net to get a copy of this message | ||
From: ryan@sunsetd.com
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@lists.php.net
For help: php-dev-help@lists.php.net