I just installed Drupal 5.1 on Windows IIS. All seems to be working just fine, except that at the end of each page I get this error:

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

I have no idea what this is, and I am hoping it's a quick fix.

Thanks for your help in advance.

Xavier

Comments

davesgonebananas’s picture

This is a problem with PHP5 and MySQL on Windows. You can usually solve it by replacing the libmysql.dll in your PHP installation directory with the one from your MySQL installtion directory. Or download PHP 5.2.1 and use the libmysql from that.

x_v’s picture

First I copied the MySQL libmysql.dll into my PHP directory, that didn't seem to do anything. Then I downloaded 5.2.3 (couldn't find 5.2.1), and copied that libmysql.dll into my PHP dir. That didn't work either. I restarted www services in both cases (not sure if that was needed).

Thanks!
Xavier

davesgonebananas’s picture

There's numerous bugs on php and mysql trackers - nobody seems to want to own this. But the good news is the 5.2.1 dll does generally seem to fix the problem.

http://bugs.php.net/bug.php?id=41350
http://www.php.net/releases/#5.2.2

x_v’s picture

Looks like some people have fixed it with the 5.2.1 dll, but the only cvs snap that was posted is for 5.2.3.
Is there a way to get the actual dll for 5.2.1?

Thanks!

x_v’s picture

This is fixed now. Went to http://dev.mysql.com/downloads/connector/php/ and downloaded the latest libmysql.dll from there.

Thanks,
Xavier

davesgonebananas’s picture

There's numerous bugs on php and mysql trackers - nobody seems to want to own this. But the good news is the 5.2.1 dll does generally seem to fix the problem.

http://bugs.php.net/bug.php?id=41350
http://www.php.net/releases/#5.2.2

davesgonebananas’s picture

There's numerous bugs on php and mysql trackers - nobody seems to want to own this. But the good news is the 5.2.1 dll does generally seem to fix the problem.

http://bugs.php.net/bug.php?id=41350
http://www.php.net/releases/#5.2.1

davesgonebananas’s picture

There's numerous bugs on php and mysql trackers - nobody seems to want to own this. But the good news is the 5.2.1 dll does generally seem to fix the problem.

http://bugs.php.net/bug.php?id=41350
http://www.php.net/releases/#5.2.1

davesgonebananas’s picture

There's numerous bugs on php and mysql trackers - nobody seems to want to own this. But the good news is the 5.2.1 dll does generally seem to fix the problem.

http://bugs.php.net/bug.php?id=41350
http://www.php.net/releases/#5.2.1

Can't seem to get this to post !

davesgonebananas’s picture

There's numerous bugs on php and mysql trackers - nobody seems to want to own this. But the good news is the 5.2.1 dll does generally seem to fix the problem.

http://bugs.php.net/bug.php?id=41350
http://www.php.net/releases/#5.2.1

davesgonebananas’s picture

There's numerous bugs on php and mysql trackers - nobody seems to want to own this. But the good news is the 5.2.1 dll does generally seem to fix the problem.

http://bugs.php.net/bug.php?id=41350
http://www.php.net/releases

davesgonebananas’s picture

HELP!

rubensans’s picture

5.2.4 also don't solve it.

Best Regards.

rubensans’s picture

with 5.2.1 it works but I'm getting this message in phpmyadmin:

Your PHP MySQL library version 3.23.49 differs from your MySQL server version 4.1.22. This may cause unpredictable behavior

Do you know if this will be solved in 6.x?

rubensans’s picture

With that phpmyadmin is giving:

Your PHP MySQL library version 3.23.49 differs from your MySQL server version 4.1.22. This may cause unpredictable behavior.

Your PHP MySQL library version 5.0.22 differs from your MySQL server version 5.0.45. This may cause unpredictable behavior.

ikkunaprincessa’s picture

i don't have access to the php install directory to copy libmysql.dll
i contacted the company i bought my host from 'n they said they don't have access to that either. is there any other way? plz somebody help me soon.

i have PHP 5.2.3
MySql 'n my control panel is Plesk 8.2.0

philpill’s picture

This is what fixed it for me

http://www.eukhost.com/forums/f15/fix-error-my_thread_global_end-1-threa...

You should find that setting on the domain setup page next to where you select the version of PHP you want to use (at least, this is the case on my version - 8.3.0)

vinoth.3v’s picture

F1

Vinoth - வினோத்