A total of four versions, VC9 x86 Non thread safe, VC9 x86 thread safe, VC6 x86, Non thread safe, VC6 x86 thread safe, which gave me this rookie headache Ah, fortunately PHP website to provide download There is an English choose on the left. I understand, I guess that 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 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;
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.
then look at the two ways PHP executes: ISAPI and fastcgi.
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.
In addition, PHP also has a vc6,vc9 version of the points.
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.
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.