ID:               41350
 Comment by:       alienoiduk at yahoo dot com
 Reported By:      graham at directhostinguk dot com
 Status:           No Feedback
 Bug Type:         MySQL related
 Operating System: Windows 2003
 PHP Version:      5.2.3
 New Comment:

You need to install MySQL5.051a for linux and MySQL 5.0.5b1 for
windows. If installed the wrong way around there will be a delay in
executing. 
Also copy the correct libmysql.dll to the C:\PHP\ folder I installed
MySQL 5.0.51b at C:\Mysql\ therfor the libmysql.dll file you require
will be in folder C:\MySQL\lib\opt  the file is the Application
Extension file size of about 2,000K.

This worked on a brand new server running IIS6 windows 2003 server
latest download from PHP 5.2.5 and MySQL 5.0.51b did as above no errors
no hangup or delays. I am not run MySQLi.


Previous Comments:
------------------------------------------------------------------------

[2008-04-22 14:01:29] newcomer at hotmail dot com

We just upgraded to PHP Version 5.2.5. the "Error in
my_thread_global_end(): 1 threads didn't exit" appeared no matter the
application uses MySQL or not. Replaced the libmysql.dll from V.5.0.45,
the error disappear. But the application is running very slow. Switched
back to PHP version4. Everything back to normal.

------------------------------------------------------------------------

[2008-04-16 04:12:17] tristen_e at yahoo dot com

This is still a problem:

$ php --version
PHP 5.2.5 (cli) (built: Nov  8 2007 23:18:51)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

------------------------------------------------------------------------

[2008-04-09 15:16:21] jdolecek at NetBSD dot org

Downgrading BOTH libmysql.dll AND php_mysql.dll to version bundled with
PHP 5.2.1 fixed the issue for me, too.

------------------------------------------------------------------------

[2008-04-08 20:14:10] spambox at shad dot pp dot ru

Same bug just happened to me in this example:

C:\>echo "<?php echo date('T'); ?>" |php
"MSD"
Error in my_thread_global_end(): 1 threads didn't exit

MySQL extension was enabled in php.ini, but I didn't use any of it's
functions in example. PHP is 5.2.5, no other mysql related dll's are
available on system.

I posted this just to confirm that bug exists on my system too.

------------------------------------------------------------------------

[2008-03-28 22:23:40] stein at visibone dot com

Brilliant, Scottmac, I did have some crufty lurking libmysql.dll's. 
But I'm still getting the 5 second hang.  Using the 5.2.5 php_mysql.dll
and php_mysqli.dll's the hang happens with a dirt-simple hello-world. 
With 5.2.1 it happens if I mysql_connect().

Could it be having both mysql and mysqli enabled?  I'm using both for
unit testing.  

-- Bob Stein, VisiBone

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/41350

-- 
Edit this bug report at http://bugs.php.net/?id=41350&edit=1

Reply via email to