#18857 [Fbk->Bgs]: pconnect not properly handling connections

From: Date: Sun, 11 Aug 2002 15:43:03 +0000
Subject: #18857 [Fbk->Bgs]: pconnect not properly handling connections
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16501@lists.php.net to get a copy of this message
ID: 18857 Updated by: nohn@php.net Reported By: martin@promotions.cz -Status: Feedback +Status: Bogus Bug Type: Sybase-ct (ctlib) related Operating System: Slackware Linux PHP Version: 4.2.2 Previous Comments: ------------------------------------------------------------------------ [2002-08-11 10:32:40] nohn@php.net Are you using a non-threaded webserver like apache 1.3.x? in this case the behaviour, you described is normal. see http://www.php.net/manual/en/features.persistent-connections.php for more information ------------------------------------------------------------------------ [2002-08-11 10:13:58] martin@promotions.cz I use sybase_pconnect() to create connection to database. But new connections appear and existing ones are not reused nor closed. Database shows: (omitting system connections) 2> sp__who 3> go pid loginame hostinfo dbname status cmd bk 8 mmshop PHP 4.0 4732 mmshop recv sle AWAITING COMMAND 0 9 mmshop PHP 4.0 4738 mmshop recv sle AWAITING COMMAND 0 11 mmshop PHP 4.0 4731 mmshop recv sle AWAITING COMMAND 0 12 mmshop PHP 4.0 4730 mmshop recv sle AWAITING COMMAND 0 13 mmshop PHP 4.0 4729 mmshop recv sle AWAITING COMMAND 0 14 mmshop PHP 4.0 4737 mmshop recv sle AWAITING COMMAND 0 But phpinfo() shows: Sybase_CT Support enabled Active Persistent Links 0 Active Links 0 When using standard sybase_connect(), everything works fine. Used SW: ASE 11.0.3.3, Zend Optimizer, Apache 1.3.26 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=18857&edit=1

« previous php.bugs (#16501) next »