#18857 [NEW]: pconnect not properly handling connections

From: Date: Sun, 11 Aug 2002 14:13:59 +0000
Subject: #18857 [NEW]: pconnect not properly handling connections
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16494@lists.php.net to get a copy of this message
From: martin@promotions.cz Operating system: Slackware Linux PHP version: 4.2.2 PHP Bug Type: Sybase-ct (ctlib) related Bug description: pconnect not properly handling connections 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 bug report at http://bugs.php.net/?id=18857&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18857&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18857&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18857&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18857&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18857&r=support Expected behavior: http://bugs.php.net/fix.php?id=18857&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18857&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18857&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18857&r=globals

« previous php.bugs (#16494) next »