Link to home
Start Free TrialLog in
Avatar of pdb086
pdb086

asked on

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

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
ASKER CERTIFIED SOLUTION
Avatar of hernst42
hernst42
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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