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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 03:01:32 2024 UTC