note 74439 deleted from function.mysql-connect by bjori

From: Date: Tue, 24 Jul 2007 11:19:20 +0000
Subject: note 74439 deleted from function.mysql-connect by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-128876@lists.php.net to get a copy of this message
Note Submitter: michael at golightly dot com ---- Drowning under a sea of connections using mysql_connect (not pconnect) I found that php connections did NOT go away at the end of a page load. Only by setting the directive mysql.allow_persistent = Off made the connections go away. So unless I've missed something else or don't understand the meaning of 'script' the following note on this page is incorrect: Note: The link to the server will be closed as soon as the execution of the script ends, unless it's closed earlier by explicitly calling mysql_close(). Using PHP 4.4.4 & MySQL 4.0.26

« previous php.notes (#128876) next »