Recently in the PHP official online see a new version of the PHP download, so go up to find for the version of Windows, but a look, a total of four versions, VC9 x86 Non thread safe, VC9 x86 thread safe, VC6 x86 thread Safe, VC6 x86 Thread safe, which makes me a rookie headache ah, fortunately, PHP website to provide downloads to the left of the 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, Take it and make a memo first. And then give PHP100 an ad, it is said that the boss to give a video demo, I will explain briefly.
first, how to select the PHP5.3 VC9 version and VC6 version
What is VC6?
VC6 is Legacy Visual Studio 6 compiler, which is compiled using this compiler.
What is VC9?
VC9 is the Visual Studio 2008 compiler, which is compiled with the Microsoft vs Editor.
So how do we choose which version of PHP to download?
If you are using apache+php under Windows, please select the VC6 version;
If you are using iis+php under Windows, please select 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;
The fastcgi execution is done with a single thread, so there is no need for thread security checks, and the removal of thread security checks can improve execution efficiency, so if you are fastcgi to execute PHP, it is recommended that you choose non thread safe version.
The authorities do not recommend that you apply non thread safe to the production environment, so we chose the PHP version of the thread safe to use.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.