RE: Problem writing PHP extensions for Windows

Venkat Raman Don <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <3FA2AD39E9964240B4E6DD4AE62E031B5DB2C789@TK5EX14MBXC118.redmond.corp.microsoft.com>
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:[email protected]] 
Sent: Monday, July 19, 2010 7:28 AM
To: [email protected]
Subject: [PHP-WIN] 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.