|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43776 fsockopen crashes apache on windows
Submitted: 2008-01-07 11:04 UTC Modified: 2008-01-07 11:48 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: jaco at jump dot co dot za Assigned:
Status: Not a bug Package: Sockets related
PHP Version: 5.2.5 OS: Windows Server 2003
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.
Bug Type:
From: jaco at jump dot co dot za
New email:
PHP Version: OS:


 [2008-01-07 11:04 UTC] jaco at jump dot co dot za
Apache 2.2.4
PHP 5.2.5

whenever I use fsockopen, I get a message Error in my_thread_global_end(): 1 threads didn't exit in my apache log files. This happens when the threads are trying to be recycled.

Steps to reproduce

Start Apache


$fp = fsockopen("", 3306);



Stop apache and the message apears in the apache error log. 

Reproduce code:
$fp = fsockopen("", 3306);



Expected result:
Clean Log File

Actual result:
Error in my_thread_global_end(): 1 threads didn't exit


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-07 11:23 UTC] jaco at jump dot co dot za
This is not happening when I run the script with CLI, no error is reported in CLI, its just when its on apache that it happens.
 [2008-01-07 11:48 UTC]
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. 

Thank you for your interest in PHP.

This is a problem with the libmysqlclient.dll on your system. Please see #41350 for more information on that problem.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon May 23 03:05:45 2022 UTC