Re: [PHP-WIN] Problem writing PHP extensions for Windows

2010-07-19 Thread Bruce M. Axtens
Venkat Raman Don wrote: 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. Yes, that is true. My question has been from the beginning: how to make the extension Non Thread Safe? Please build non threa

Re: [PHP-WIN] Problem writing PHP extensions for Windows

2010-07-19 Thread Bruce M. Axtens
Keith Davis wrote: What extensions are you trying to build? The one listed here http://netindonesia.net/blogs/risman/archive/2008/06/15/part-2-writing-php-extension.aspx (modified slightly from the original to compensate for the nonTS situation) and http://www.talkphp.com/vbarticles.php?d

[PHP-WIN] Problem writing PHP extensions for Windows

2010-07-19 Thread Bruce M. Axtens
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 PHPcompiled 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 n