PHP 5.3.1 Installation package VC9 VC6 What's the difference?

Source: Internet
Author: User
Tags php download php website vc9
PHP 5.3.1 Installation package VC9 VC6 What's the difference?

In PHP100 mixed so long also write something out, recently in the PHP official online see and there is a new version of PHP download, and then went up to find for Windows, but a look really dumbfounded, altogether gave four version, VC9 x86 Non Thread Safe, VC9 x86 Thread safe, VC6 x86 Non thread safe, VC6 x86 thread safe, which makes me this rookie headache ah, fortunately, PHP website to download the place on the left there is an English choose I understand, I reckoned is how to choose the version of the meaning of it, So began to look up the dictionary and Internet search, finally see the specific meaning, take to do a memo first. Give PHP100 to make an advertisement, it is said that the eldest brother wants a video demonstration, I explain briefly.

I. How to select the VC9 version and the VC6 version of PHP5.3

What is VC6?
VC6 is Legacy Visual Studio 6 compiler, which is compiled with this compiler.
What is VC9?
VC9 is the Visual Studio compiler, which is compiled with Microsoft's 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.


Second, how to choose the PHP5.3 thread safe and non thread safe version


In the first place, it is a thread safe to understand the literal meaning that thread security is performed in order to prevent the new requirements from exhausting system resources by starting the CGI execution of new threads. Non thread safe is non-threaded and does not thread (thread) security checks at execution time.


Let's look at two ways of executing PHP: ISAPI and fastcgi.


ISAPI execution method is used 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 check, so as to improve the execution efficiency of the program, so if the ISAPI to execute PHP, Recommended Choice Threadsafe version;


FastCGI execution is performed in a single thread, so there is no need for thread security checks, and the removal of thread safety checks can improve execution efficiency, so if PHP is executed in fastcgi, it is recommended to choose the Nonthread safe version.

The official does not recommend that you apply Nonthread safe to your production environment, so we choose the thread safe version of PHP to use.

  • Contact Us

    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.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.