note 30878 added to function.mysql-close

From: Date: Tue, 01 Apr 2003 22:43:59 +0000
Subject: note 30878 added to function.mysql-close
Groups: php.notes 
Request: Send a blank email to php-notes+get-46102@lists.php.net to get a copy of this message
I am using PHP (4.2.2) with MySQL (3.22.55) & Apache (1.3.27) on Linux (?) and I keep getting 'too many connections'. 'max_user_connections' is 16. I connect at the start of my scripts then disconnect, at the end of every script. I use the standard mysql_connect() and mysql_close() functions, but have my doubts about the close after reading this page & others. Can anyone help? I have little affect on the configuration on the host, cant change php.ini, safe mode is on, can't telnet, etc etc I am finding it very frustrating, HELP ! -- http://www.php.net/manual/en/function.mysql-close.php http://master.php.net/manage/user-notes.php?action=edit+30878 http://master.php.net/manage/user-notes.php?action=delete+30878 http://master.php.net/manage/user-notes.php?action=reject+30878

« previous php.notes (#46102) next »