ID: 33071 Updated by: [EMAIL PROTECTED] Reported By: corey at eyewantmedia dot com -Status: Open +Status: Bogus Bug Type: IIS related Operating System: Windows 2003 PHP Version: 5.0.4 New Comment:
Report this to the PEAR people: http://pear.php.net/bugs/ Previous Comments: ------------------------------------------------------------------------ [2005-05-19 22:42:53] corey at eyewantmedia dot com Description: ------------ I am running php 5.0.4 with IIS 6 and IIS 5.1 (as a test). When I submit multiple requests, php only opens one database connection at a time (to a database server on the same network), so multiple requests are being queued and it takes them longer and longer to process. This happens both when php runs as cig and isapi, and even fastcgi and with winenabler. However, if run through cli, this problem does not happen. Any ideas? Reproduce code: --------------- <?php require_once('DB.php'); //pear db class $db = DB::connect($dsn); //do sttuff $db->disconnect(); //request this page several times to see what I mean ?> Expected result: ---------------- When it is requested many times simultaneously , I expect many database connections Actual result: -------------- php waits for the last database connection to close before it even attempts to connect a second time, queueing up processes like mad. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33071&edit=1