We help IT Professionals succeed at work.

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

pdb086
pdb086 asked
on
Medium Priority
502 Views
Last Modified: 2013-12-13
Dear all,

I get the error "Error in my_thread_global_end(): 1 threads didn't exit" when calling SOAP web service. I'm using PHP 5.2.5 in CGI mode on IIS, with the extension=php_soap.dll option.

Interestingly it does seem to call the web service successfully, but then gives said error. Example:

<?php
   $client = new SoapClient('http://bisqwit.iki.fi/jutut/kuvat/ajaxsoapdemo/demo.wsdl');
   $res    = $client->ItemQuery('screwdriver');
   $count  = $res->count;
   $size   = $res->size;
   print "count=$count, size=$size\n";
?>

Gives

count=210, size=116 Error in my_thread_global_end(): 1 threads didn't exit

Any help much appreciated.

Paul
Comment
Watch Question

Top Expert 2007
Commented:

Commented:
Its not a soap error but error with mysql lib which comes bundled with PHP 5.2.2-5.2.5 .. I suggest you to download PHP 5.2.1 from the site www.php.net and replace the libmysql.dll file to resolve the issue.

Thanks

Explore More ContentExplore courses, solutions, and other research materials related to this topic.