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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
48 - 44 = ?
Subscribe to this entry?

 
 [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: Tue Apr 23 21:01:31 2024 UTC