PHP's selection of vc9 and vc6, thread safe and non-thread safe versions

Source: Internet
Author: User
Tags vc9

I always wanted to build my own blog and valued the most popular WordPress, so I started to use PHP. When I went to the official website to download a large number of versions, I couldn't find out which one to use. So I went to the Internet to search for help and found a satisfactory answer. I 'd like to share it with new users who want to learn PHP:

 

I. How to select the vc9 and vc6 versions of php5.3

 

Vc6 is compiled using the Visual Studio 6 compiler. If your PHP is set up using Apache, select vc6.

 

Vc9 is compiled using the Visual Studio 2008 compiler. If your PHP is set up using IIS, you can 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 and will not disappear immediately after a user request is processed. Therefore, thread security check is required to improveProgramSo if ISAPI is used to execute PHP, we recommend that you select the thread safe 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 the non-thread safe version.

 

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.