php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hernande at fit dot edu
New email:
PHP Version: OS:

 

 [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();'.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-10 02:01 UTC] thies@php.net
fixed in CVS (patch by nick@loman.net)

 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Dec 08 13:03:41 2021 UTC