Posted: Thu Sep 06, 2007 6:10 pm
Can you run a phpinfo() page and report back the section on mysql please.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
This solved it for me. Thanks!BigAL wrote:I am using -> MySQL 5.0.24, PHP 5.2.2, IIS 5.1, Win XP Pro sp2, IE7
The problem is not in the C:\PHP\ext\php_mysql.dll and C:\PHP\ext\php_mysqli.dll
The problem exists in the C:\PHP\libmysql.dll 1,496KB 5/2/2007 7:23 PM
Replace C:\PHP\libmysql.dll with the copy from MySQL installation
(C:\Program Files\MySQL\MySQL Server 5.0\bin\libmySQL.dll 1,484KB 7/28/2006 1:05 PM)
You may have different modification dates, just use the copy from MySql installation.....
To test if it works create phpcfg.php with the following:
<HTML>
<HEAD>
<TITLE>Current PHP Configuration</TITLE>
</HEAD>
<BODY>
<?php
phpinfo();
?>
</BODY>
</HTML>
Scroll to the end of the result on browser, you should not see the ugly message:
Error in my_thread_global_end(): 3 threads didn't exit
Good Luck !