Error in my_thread_global_end(): 3 threads didn't exit
Moderator: General Moderators
-
developer123
- Forum Newbie
- Posts: 1
- Joined: Tue May 08, 2007 1:38 am
Error in my_thread_global_end(): 3 threads didn't exit
I have installed php 5.2.2 (IIS) in window xp. Got lots of errors like "Could not load modules, so i have commented the required dlls.
At last i got the error like require_once("SAM/php_sam.php") - Here I have commented the line php_sam.dll, but now i am getting the following error.
Error in my_thread_global_end(): 3 threads didn't exit
Any idea to resolve this? Thanks in Advance.
At last i got the error like require_once("SAM/php_sam.php") - Here I have commented the line php_sam.dll, but now i am getting the following error.
Error in my_thread_global_end(): 3 threads didn't exit
Any idea to resolve this? Thanks in Advance.
-
servswitch
- Forum Newbie
- Posts: 1
- Joined: Sat May 12, 2007 4:02 pm
Fix: Error in my_thread_global_end():
Hi,
I had the same Error Messages after Installing Mysql 5.0.41 and PHP 5.2.2 on Windwos2003 with IIS6
Tryed many things - deinstall - downgrade PHP as Well Mysql. - nothing helps correct.
After many hours i fond the Download Links for the PHP-Connectors on
http://dev.mysql.com/downloads/connector/php/
http://dev.mysql.com/get/Downloads/Conn ... /from/pick
http://dev.mysql.com/get/Downloads/Conn ... /from/pick
download and unzipp the files - replace in My PHP and PHP/ext Folder -
WONDER it works now without Error Message and also even faster.
Hope thats also THE HELP for You
kind regards
I had the same Error Messages after Installing Mysql 5.0.41 and PHP 5.2.2 on Windwos2003 with IIS6
Tryed many things - deinstall - downgrade PHP as Well Mysql. - nothing helps correct.
After many hours i fond the Download Links for the PHP-Connectors on
http://dev.mysql.com/downloads/connector/php/
http://dev.mysql.com/get/Downloads/Conn ... /from/pick
http://dev.mysql.com/get/Downloads/Conn ... /from/pick
download and unzipp the files - replace in My PHP and PHP/ext Folder -
WONDER it works now without Error Message and also even faster.
Hope thats also THE HELP for You
kind regards
the connector downloads did not work for me
Servswitch,
I am also running MySQL 5.0.41 and PHP 5.2.2 and encountering the same error.
I tried replacing the three files you mentioned but I'm still having the problem.
You mentioned that you deinstalled and downgraded first. But did you end up reinstalling MySQL 5.0.41 and PHP 5.2.2 before replacing the three files or did you stay downgraded? What versions of MySQL and PHP are you currently running and working with. Thanks.
DonL
I am also running MySQL 5.0.41 and PHP 5.2.2 and encountering the same error.
I tried replacing the three files you mentioned but I'm still having the problem.
You mentioned that you deinstalled and downgraded first. But did you end up reinstalling MySQL 5.0.41 and PHP 5.2.2 before replacing the three files or did you stay downgraded? What versions of MySQL and PHP are you currently running and working with. Thanks.
DonL
It works for me.
I am using -> MySQL 5.0.24, PHP 5.2.2, IIS 5.1, Win XP Pro sp2, IE7
The problem is not in the C:\PHP\ext\php_mysql.dll and C:\PHP\ext\php_mysqli.dll
The problem exists in the C:\PHP\libmysql.dll 1,496KB 5/2/2007 7:23 PM
Replace C:\PHP\libmysql.dll with the copy from MySQL installation
(C:\Program Files\MySQL\MySQL Server 5.0\bin\libmySQL.dll 1,484KB 7/28/2006 1:05 PM)
You may have different modification dates, just use the copy from MySql installation.....
To test if it works create phpcfg.php with the following:
<HTML>
<HEAD>
<TITLE>Current PHP Configuration</TITLE>
</HEAD>
<BODY>
<?php
phpinfo();
?>
</BODY>
</HTML>
Scroll to the end of the result on browser, you should not see the ugly message:
Error in my_thread_global_end(): 3 threads didn't exit
Good Luck !
The problem is not in the C:\PHP\ext\php_mysql.dll and C:\PHP\ext\php_mysqli.dll
The problem exists in the C:\PHP\libmysql.dll 1,496KB 5/2/2007 7:23 PM
Replace C:\PHP\libmysql.dll with the copy from MySQL installation
(C:\Program Files\MySQL\MySQL Server 5.0\bin\libmySQL.dll 1,484KB 7/28/2006 1:05 PM)
You may have different modification dates, just use the copy from MySql installation.....
To test if it works create phpcfg.php with the following:
<HTML>
<HEAD>
<TITLE>Current PHP Configuration</TITLE>
</HEAD>
<BODY>
<?php
phpinfo();
?>
</BODY>
</HTML>
Scroll to the end of the result on browser, you should not see the ugly message:
Error in my_thread_global_end(): 3 threads didn't exit
Good Luck !
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Did not submit bug report.
Did not submit a bug report.
I found similar bug reports on php.net
I just submitted my solution for this board.
Thanks...
I found similar bug reports on php.net
I just submitted my solution for this board.
Thanks...
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
A php program of mine was running in command-mode which was retrieving XML feeds from the web, and in the middle, the net got disconnected and I did CTRL+C to end it after which this msg occurred :
But theres nothing to with MySQL or IIS which others seem to have reported.
Apache 2.0.58 and PHP 5.2.3
EDIT: This error occurs whenever you hit CTRL+C
Code: Select all
Error in my_thread_global_end(): 3 threads didn't exitApache 2.0.58 and PHP 5.2.3
EDIT: This error occurs whenever you hit CTRL+C
I was receiving the same error message "Error in my_thread_global_end(): 3 threads didn't exit" and phpMyAdmin was running terribly slow. I am running PHP Version 5.2.4, MySQL Version 5.0.45, and phpMyAdmin Version 2.11.0 on Windows XP Pro w/SP2b.
I replaced the libmysql.dll file with the file downloaded from the link above. phpMyAdmin now runs very quickly, but I now get an error message reading "Your PHP MySQL library version 5.0.27 differs from your MySQL server version 5.0.45. This may cause unpredictable behavior."
Are any of you getting the same type of message?
I replaced the libmysql.dll file with the file downloaded from the link above. phpMyAdmin now runs very quickly, but I now get an error message reading "Your PHP MySQL library version 5.0.27 differs from your MySQL server version 5.0.45. This may cause unpredictable behavior."
Are any of you getting the same type of message?
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Yes.
PHP Version 5.2.4
MySQL Version 5.0.45
phpMyAdmin Version 2.11.0
Windows XP Pro w/SP2b running IIS
MySQL Version 5.0.45 was just downloaded yesterday and installed today. The package must have a bug, but using the older version dll file does give me the other error message.
I looked to see if there was another connector at http://dev.mysql.com/downloads/connector/php/, but the latest is for version 5.0.27. I could unistall version 5.0.45 and install version 5.0.27, but I cannot find this old version on the mySQL site.
I am sure I am not the only one having this issue.....
PHP Version 5.2.4
MySQL Version 5.0.45
phpMyAdmin Version 2.11.0
Windows XP Pro w/SP2b running IIS
MySQL Version 5.0.45 was just downloaded yesterday and installed today. The package must have a bug, but using the older version dll file does give me the other error message.
I looked to see if there was another connector at http://dev.mysql.com/downloads/connector/php/, but the latest is for version 5.0.27. I could unistall version 5.0.45 and install version 5.0.27, but I cannot find this old version on the mySQL site.
I am sure I am not the only one having this issue.....