Sublime Forum

[SublimeLinter-php] Which version of PHP for Windows do I install: thread safe or non thread safe?

#1

Hi all. I am trying to to install a SublimeLinter-php, and it says I first have to install PHP for Windows. But I am unclear on which version of PHP Windows I should install: Thread Safe or Non Thread Safe.

The instructions on the page indicate:

If you are using PHP as FastCGI with IIS you should use the Non-Thread Safe (NTS) versions of PHP.

I am not sure if that applies to me.

Thanks in advance.

0 Likes

#2

If you’re not sure then probably not. Thread Safe should be the one to get unless you know you need the other one.

1 Like

#3

Hey thanks for the reply. I actually posted somewhere else and someone indicated I might need the non thread safe. The rationale was because of the additional text on the page:

For NTS binaries the widespread use case is interaction with a web server through the FastCGI protocol, utilizing no multithreading (but also for example CLI).

Isn’t mine a CLI case?

0 Likes

#4

Sure, if you’re not going to need multiple threads, nts will also work. Doubt there is a real downside to it being multi-thread capable though.

0 Likes