Re: Problem writing PHP extensions for Windows
| From: | Richard Quadling | Date: | Mon, 19 Jul 2010 15:07:33 +0000 |
| Subject: | Re: Problem writing PHP extensions for Windows | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-30243@lists.php.net to get a copy of this message | ||
On 19 July 2010 15:28, Bruce M. Axtens <bruce.axtens@gmail.com> 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.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.
What is your configure line?
Make sure you have --disable-zts in it to produce NonThreadSafe (nts) versions.
Richard.