Hi Bruce, This means you have built a Thread safe version of the extension and trying to load it with Non Thread Safe version of PHP which is not valid. Please build non thread safe version of extension. I believe --disable-zts is the switch that will do the trick for building the non-thread safe extension. Thanks, Don. -----Original Message----- From: Bruce M. Axtens [mailto:bruce.axtens@xxxxxxxxx] Sent: Monday, July 19, 2010 7:28 AM To: php-windows@xxxxxxxxxxxxx Subject: Problem writing PHP extensions for Windows I'm trying to build PHP extensions on Windows When I run my DLLs I get errors like this: Module compiled with build ID=API20090626,TS,VC9 PHP compiled with build ID=API20090626,NTS,VC9 The source package that I downloaded from php.net seems to default to threadsafe, but I've installed a nonTS PHP (the recommended action apparently when running under FastCGI on IIS7.) How do I get nonTS sources, or what do I have to do to what I have to make them appear nonTS so that Visual Studio 2008 creates nonTS binaries? Kind regards, Bruce. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php