PHP5.3.1 what is the difference between the installation package VC9VC6 and

Source: Internet
Author: User
Tags php download vc9
PHP5.3.1 the difference between the installation package VC9VC6 and PHP100 is that after PHP100 has been mixed for so long, you can also write something out. Recently, I saw another version of PHP downloaded on the PHP official website, so I went up to find the ForWindows version, however, it's silly to check it out & #30524; a total of four versions are provided. What are the differences between VC9x86NonThreadSafe and VC9x86Threa PHP 5.3.1 installation package VC9 VC6?

After mixing PHP100 For so long, I also want to write something out. Recently, I saw another new version of PHP download on the PHP official website. so I went up to find the version For Windows, however, it was dumb to see that there were four versions available: VC9 x86 Non Thread Safe, VC9 x86 Thread Safe, VC6 x86 Non Thread Safe, and VC6 x86 Thread Safe, this makes me a headache for Cainiao. Fortunately, there is a choose on the left of the place where PHP official website provides download. I have understood it. I guess it means how to select a version, so I began to look up the dictionary and search for the Internet. I finally understood the specific meaning and used it as a memo first. I will make another advertisement for PHP100. it is said that the boss will have a video demonstration. I will explain it briefly.

I. how to select the VC9 and VC6 versions of PHP5.3

What is VC6?
VC6 is compiled by the legacy Visual Studio 6 compiler.
What is VC9?
VC9 is the Visual Studio 2008 compiler, which is compiled by Microsoft VS editor.

So how do we choose which PHP version to download?
If you are using Apache + PHP in windows, select VC6;
If you are using IIS + PHP in windows, select VC9.


II. how to select the Thread Safe and Non-Thread Safe versions of PHP5.3


First, it is literally understood that Thread Safe is Thread security, and Thread security check is performed during execution, to prevent the new thread from consuming system resources by starting the CGI execution mode. Non-Thread Safe is Non-Thread security and does not perform Thread security checks during execution.


Let's take a look at two PHP execution methods: ISAPI and FastCGI.


The ISAPI is executed in the form of a DLL dynamic library. it can be executed after a user request. after processing a user request, it will not disappear immediately. Therefore, thread security check is required, this improves the execution efficiency of the program. if you use ISAPI to execute PHP, we recommend that you select the ThreadSafe version;


FastCGI executes operations in a single thread, so it does not need to perform thread security checks. apart from the thread security check protection, it can improve the execution efficiency, if you use FastCGI to execute PHP, we recommend that you select NonThread Safe.

It is not officially recommended that you apply NonThread Safe to the production environment, so we should select the PHP version of Thread Safe for 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.