Date: 07/09/01
- Next message: derick <email protected>: "[PHP-DEV] Bug #11962 Updated: eval() doesn't handle multi-dimentional arrays."
- Previous message: Karl Austin: "[PHP-DEV] RE: Bug #11962 Updated: eval() doesn't handle multi-dimentional arrays."
- In reply to: akul <email protected>: "[PHP-DEV] Bug #11966: mysql_pconnect opens new connections with the same parameters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 11966
Updated by: derick
Reported By: akul <email protected>
Old Status: Open
Status: Closed
Bug Type: MySQL related
Operating System: Linux
PHP Version: 4.0.6
New Comment:
I;m not be able to reproduce this. But mysql_pconnect will make a connection for every httpd process that gets spawned.
One such httpd handles then like 100 requests, and there are mostly more than one of these child processes.
For every such child process, a new connection will be made, that is normal bahavior.
Derick
Previous Comments:
------------------------------------------------------------------------
[2001-07-09 05:32:51] akul <email protected>
each new mysql_pconnect opens new connection. About system: see http://www.crimaniak.com/info.php
Code:
// defined constants: $DBServer, $DBUser, $DBPassword
include("base.inc.php");
// Open connection to server
if(!$base=mysql_pconnect($DBServer,$DBUser,$DBPassword))
ErrExit("Error during connect to database:" . mysql_error());
------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11966&edit=1
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: derick <email protected>: "[PHP-DEV] Bug #11962 Updated: eval() doesn't handle multi-dimentional arrays."
- Previous message: Karl Austin: "[PHP-DEV] RE: Bug #11962 Updated: eval() doesn't handle multi-dimentional arrays."
- In reply to: akul <email protected>: "[PHP-DEV] Bug #11966: mysql_pconnect opens new connections with the same parameters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

