今天遇见了配置sphinx 在安装配置过程出现Error in my_thread_global_end(): 2 threads didn't exit 报错。
百度了一下查看原因是php中的libmysql.dll这个dll文件导致的,原文来自:http://blog.csdn.net/js333/article/details/2298511
参考下载了一个新的php文件,使用新的php安装包中的libmysql.dll进行替换。
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