#43776 [Opn]: fsockopen crashes apache on windows
| From: | jaco at jump dot co dot za | Date: | Mon, 07 Jan 2008 11:23:44 +0000 |
| Subject: | #43776 [Opn]: fsockopen crashes apache on windows | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121099@lists.php.net to get a copy of this message | ||
ID: 43776
User updated by: jaco at jump dot co dot za
Reported By: jaco at jump dot co dot za
Status: Open
Bug Type: Sockets related
Operating System: Windows Server 2003
PHP Version: 5.2.5
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2008-01-07 11:04:56] jaco at jump dot co dot za
Description:
------------
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
Run
<?
$fp = fsockopen("192.168.1.105", 3306);
fclose($fp);
exit;
?>
Stop apache and the message apears in the apache error log.
Reproduce code:
---------------
$fp = fsockopen("192.168.1.105", 3306);
fclose($fp);
exit;
Expected result:
----------------
Clean Log File
Actual result:
--------------
Error in my_thread_global_end(): 1 threads didn't exit
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43776&edit=1