Error in my_thread_global_end(): 2 threads didn't exit

来源:互联网 发布:中国最红的网络女主播 编辑:程序博客网 时间:2024/04/29 19:41

 

 

最近装了LightTPD-1.4.19-1+php-5.2.5-Win32,系统是window2003。

 

成功配置后,出现 Error in my_thread_global_end(): 2 threads didn't exit

 

到网上搜索了一下,这里的解释比较清楚。

 

希望以后这样的问题少一点。

 

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

It seems that php 5.2.3 libmysql.dll does not work as expected, because Apache shows this error in the logs when we use mysql_*() functions

Solution:
I found it here:
http://forums.mysql.com/read.php?10,153077,155121#msg-155121

which is to replace 'libmysql.dll' file in your PHP installation directory (also in winnt/system32 if you copied it there) with the Dll from PHP 5.2.1

You can download the second one from here:
http://www.php.net/get/php-5.2.1-Win32.zip/from/a/mirror

Regards,
Fernando Gabrieli