|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5677 msql_close() does not work, and msql_connect() keeps open UNIX sockets.
Submitted: 2000-07-19 17:05 UTC Modified: 2000-08-10 02:01 UTC
From: hernande at fit dot edu Assigned:
Status: Closed Package: mSQL related
PHP Version: 4.0.1 OS: Redhat 6.2
Private report: No CVE-ID: None
 [2000-07-19 17:05 UTC] hernande at fit dot edu
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();'.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-10 02:01 UTC]
fixed in CVS (patch by

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Dec 07 00:03:49 2021 UTC