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

2010-07-20 Thread Pierre Joye
hi, On Mon, Jul 19, 2010 at 4:28 PM, Bruce M. Axtens > 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? The source are not TS or NTS but only the binaries. Use the --disable-zts configure option to

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

2010-07-19 Thread Venkat Raman Don
: php-windows@lists.php.net Subject: Re: [PHP-WIN] Problem writing PHP extensions for Windows 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 qu

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 Venkat Raman Don
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 sa

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

2010-07-19 Thread Richard Quadling
On 19 July 2010 15:28, Bruce M. Axtens wrote: > 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.ne

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

2010-07-19 Thread Keith Davis
Cc: php-windows@lists.php.net Subject: Re: [PHP-WIN] Problem writing PHP extensions for Windows 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-p hp-extension.aspx (modified slightly from the

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

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

2010-07-19 Thread Keith Davis
What extensions are you trying to build? Keith Davis (214) 906-5183 -Original Message- From: Bruce M. Axtens [mailto:bruce.axt...@gmail.com] Sent: Monday, July 19, 2010 9:28 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Problem writing PHP extensions for Windows I'm trying to buil