ID: 42714 Comment by: dominic dot ryan at it-hq dot org Reported By: rafael dot figueiredo at prowebs dot com dot br Status: Open Bug Type: Scripting Engine problem Operating System: WINDOWS 2003 SP1 PHP Version: 5.2.4 New Comment:
I am also getting this error on a fresh Windows build simply by using the <?php phpinfo(); ?> script. I can also confirm that using libmysql.dll from PHP 5.2.1 appears to fix the issue. My server details are; Windows 2003 R2 SP2 32bit IIS 6 PHP 5.2.4 (CGI) MySQL Server 5.0.45 Previous Comments: ------------------------------------------------------------------------ [2007-10-18 16:59:38] cranderson at att dot net I can confirm this on Win2000 using MySQL libmysql (5.0.45) and with the DLL from the latest snapshot. Oddly, it works with the 5.2.3 php_mysql/i.dlls. Also checked to see if libmysql.dll existed elsewhere (MySQL GUI Tools) and fixed that. To verify that the correct paths and DLLs are being read, I used 'Process Explorer' from Microsoft (formerly SysInternals). I can't get the same result on XP Pro SP2 nor Win2003 Server. I don't have the php_mysqli.dll source, but did sniff it with a plug-in. Some additions (e.g. mysql_thread_init()) might have something to do with it?? ------------------------------------------------------------------------ [2007-10-18 16:53:10] [EMAIL PROTECTED] Its only ext/mysql and no pdo used. c:\php -i [..] mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 5.0.45 [..] If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact [EMAIL PROTECTED] Error in my_thread_global_end(): 1 threads didn't exit As a workaround the libmysql.dll from the old 5.2.1 works. But this was already mentioned in earlier posts. I have verified that there is no other libmysql.dll on the system. A test with a renamed file give the "canot load ...." error because no libmysql.dll was found. ------------------------------------------------------------------------ [2007-10-18 16:10:26] [EMAIL PROTECTED] What MySQL extensions do you have installed? MySQL, MySQLi and pdo_mysql? What version of libmysql does the phpinfo page show? ------------------------------------------------------------------------ [2007-10-18 15:34:25] [EMAIL PROTECTED] Problem exists also in the latest snapshots C:\>php -v PHP 5.2.5-dev (cli) (built: Oct 18 2007 08:04:14) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies Error in my_thread_global_end(): 1 threads didn't exit There is no code example needed because a simple php -v or -m shows the error. To avoid problem with existing libmysql.dll the mysqld was deinstalled befor testing. ------------------------------------------------------------------------ [2007-09-28 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ 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/42714 -- Edit this bug report at http://bugs.php.net/?id=42714&edit=1