PHP 4.0 Bug #5677: msql_close() does not work, and msql_connect() keeps open UNIX sockets.

From: Date: Wed, 19 Jul 2000 15:05:38 +0000
Subject: PHP 4.0 Bug #5677: msql_close() does not work, and msql_connect() keeps open UNIX sockets.
Groups: php.dev 
Request: Send a blank email to php-dev+get-25125@lists.php.net to get a copy of this message
From: hernande@fit.edu Operating system: Redhat 6.2 PHP version: 4.0.1 PHP Bug Type: mSQL related Bug description: msql_close() does not work, and msql_connect() keeps open UNIX sockets. I have PHP 4.0.1 and mSQL 2.0.11 installed on my RedHat 6.2 server. Every time I do an 'msql_connect(["localhost"]);' on my server through PHP, PHP seems to leave an open UNIX socket on the mSQL server, even though I may try to close it with 'msql_close();'. When I have too many connections, I usually have to reload Apache or restart msql2d (bad thing, that's why I prefer to reload Apache) to force those connections to close. I already tried turning off Persistent Links on PHP, and even sending a query without using 'msql_connect(["localhost"]);' or using 'msql_connect();'.

« previous php.dev (#25125) next »