views:

94

answers:

2

I am using some software that requires me to have thread safety disabled. I am working on a Windows server. From what I've read elsewhere, I can't just configure this in the .ini file. Is this true? If so, how would I compile it so that thread safety is turned off?

Thanks!

+2  A: 

You can download compiled non-thread-safe binaries of PHP for Windows from

Gordon
+2  A: 

You have to compile PHP with ZTS disabled (compile flag --disable-zts) or download binaries with ZTS disabled.

This won't work properly in some webservers, namely those which process several PHP scripts simultaneously in the same process.

Artefacto