Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What binaries- thread-safe/non-thread-safe, to use with PHP/WAMP?

I'm trying to get remote debugging set up on a Windows 7, WAMP server 2.2, PHP, Komodo IDE platform. I need to select a Komodo debugger DLL from the following list:

  • nts-v6-x86
  • nts-vc9-x86
  • ts-v6-x86
  • ts-v9-x86

Have no idea which type of binary to choose in this situation. Can someone clue me in?

like image 391
Yarin Avatar asked Oct 23 '22 09:10

Yarin


2 Answers

Wamp 2.2 has been built with VC9. That means that to use PHP's mod_php with Apache 2.2, you need the thread safe version of PHP.

For Fastcgi (with mod_fastcgi) or CLI usage, you can and should use the non thread safe (NTS) version.

like image 65
Pierre Avatar answered Oct 27 '22 09:10

Pierre


PHP binaries for Windows are distributed in version that are non-thread safe (nts) or thread safe (ts) and built against VC9 or VC6:

  • http://windows.php.net/download/

You should select the debugger that matches the PHP distribution you have installed.

like image 20
Michael Burr Avatar answered Oct 27 '22 10:10

Michael Burr