Error in my_thread_global_end 1 threads didn't exit
This error is actually a bug in the latter PHP/MySQL release, which is generated when the MySQL's InnoDB database storage engine's connection handlers while exiting properly did not decrement the server's thread count. It can be fixed easily by changing/switching the PHP Server API from CGI/FastCGI to ISAPI.
Or if you want to use CGI/FastCGI PHP Server API, you can do the following to get this sorted out permanently :
You'd be all good now1) Go to the directory where PHP is installed.. [C:\PHP on Plain & X:\Parallels\Plesk\Additional\PleskPHP5 on Plesk control panel servers]
2) Rename libmysql.dll to libmysql.bad
3) Download the PHP 5.2.1 binary from here & extract it to a folder.
4) Copy the libmysql.dll from this folder to the PHP installation directory ( check point 1 & 2 ).
5) Finally restart the web server to reflect the changes..