Bug #69500 [Com]: mysqli_real_connect() and persistent connections

From: Date: Thu, 23 Apr 2015 09:11:10 +0000
Subject: Bug #69500 [Com]: mysqli_real_connect() and persistent connections
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-192286@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69500&edit=1 ID: 69500 Comment by: samuele dot diella at gmail dot com Reported by: samuele dot diella at gmail dot com Summary: mysqli_real_connect() and persistent connections Status: Open Type: Bug Package: MySQLi related Operating System: Linux PHP Version: Irrelevant Block user comment: N Private report: N New Comment: It seems other peoples exeprienced this https://github.com/facebook/hhvm/issues/3414 look janveldhuis second comment Previous Comments: ------------------------------------------------------------------------ [2015-04-21 23:14:07] samuele dot diella at gmail dot com Description: ------------ when using mysqli_real_connect() prepending "p:" for peristent connections, new ones are created every time instead of getting them from the pool, according to what is shown by phpinfo on "Active Persistent" entry. If i switch the code to use mysqli_connect(), everything works like a charm. Tested on many php versions (til 5.5.23). ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69500&edit=1

« previous php.bugs (#192286) next »