PHP has a total of four versions, VC9 x86 Non thread safe, VC9 x86 thread safe, VC6 x86, Non thread safe, VC6 x86 thread safe, which makes me a rookie headache ah, fortunately, PHP website offers Download the place to the left there is an English choose I understand, I guess is how to choose the version of the meaning of it, so began to look up the dictionary and search the Internet, and finally see the specific meaning, to make a memo first.
First, how to select the PHP5.3 VC9 version and VC6 version
The VC6 version is compiled using the Visual Studio 6 compiler, and if your PHP is set up with Apache, you choose the VC6 version.
The VC9 version is compiled using the Visual Studio 2008 compiler, and if your PHP is set up with IIS, you will choose the VC9 version.
Ii. How to select the PHP5.3 thread safe and Non thread safe version
First of all, thread safe is threaded and, when executed, thread (thread) security checks are performed to prevent new requirements from running out of system resources in the form of CGI execution that starts a new thread. Non thread safety is not thread safe and does not carry out thread security checks at execution time.
Then look at the two ways PHP executes: ISAPI and FastCGI.
ISAPI execution is in the form of DLL Dynamic library, can be executed after the user request, after processing a user request will not disappear immediately, so the need for thread security checks, so as to improve the efficiency of program execution, so if you are using ISAPI to execute PHP, it is recommended to select thread Safe version;
FastCGI execution is done with a single thread, so there is no need for thread security checks, and removal of thread security checks can improve execution efficiency, so if you are executing PHP with FastCGI (regardless of IIS 6 or IIS 7), it is recommended that you download, execute Non-thread Safe's PHP (PHP binaries are packaged in two ways: MSI, zip, download zip suite).
Thread security checks are just for ISAPI PHP, because there are many PHP modules that are not thread-safe, so you need to use thread safe's PHP.
So, for PHP5.2 to choose the Thread safe version installation, and for PHP5.3 to download None-thread safe, PHP is more efficient to perform.
See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/webkf/PHP/