PHP version VC6 differs from VC9, Non thread safe and thread safe

Source: Internet
Author: User
Tags vc9
PHP version VC6 and VC9, Non thread safe and thread safe are different

want to update a PHP the version, PHP Version of Windows has been separated out, see http://windows.php.net/download/ , but there are many different versions, including VC9, VC6, x86 Non thread safe, x86 thread safe, as if there were no c19>x64 version of, (now particularly like with The software of the most), version a little more, the main difference and how to choose different versions as follows:

< Span style= "" >VC6 version is using visual Studio 6 Compiler compiled if you are in windows use under apache+php , select vc6 The version.

< Span style= "" >VC9 version is using windows iis+php , select vc9 version.

< Span style= "" >non thread safe is non-thread safe and does not thread at execution time ( thread ) security check;
thread Safe is thread safe, thread is executed ( cgi run out of system resources;

< Span style= "" >windows php There are two main ways to perform : isapi and Span style= "FONT-SIZE:9PT;" >fastcgi .

< Span style= "" >?????? ISAPI is executed with dll The use of dynamic libraries, 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 execution efficiency of the program, so if the < Span style= "" >isapi to execute thread Safe 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 you do it in FastCGI PHP , it is recommended to choose Non Thread Safe version.

?????? The official does not recommend that you Non Thread Safe applied to the production environment.

?????

Knowledge Supplement:

???? ? ISAPIabbreviations are Internet Server application Programming Interfaceto be Microsoft The mention of Internet Server of the API . ISAPIServer Extensions can be HTTP the server loads and calls the DLL . InternetServer Extensions are also known as InternetServer Applications (ISA) , for enhanced compliance with InternetServer API (ISAPI)the functionality of the server. ISAcalled by the browser application and provides similar functionality to the Common Gateway Interface (CGI)application.

?????? FastCGI is a program interface that accelerates the public gateway Interface ( cgi ), cgi is one of the most common ways to make Span style= "FONT-SIZE:9PT;" >web Server Invoke application web Application. Press a fastcgi tool to see Users are asked to enter a website and use a dedicated application software, using the fastcgi can quickly 3 to 30 times. fastcgi Yes web one of the servers plugins. To achieve good performance, it requires an existing server application (such as Perl, TCLScripts and C , C + + program) to make minor changes.

???? Basically, FastCGI is a program that manages multiple CGI requests in a single step . Many program instructions were reduced for each request. Without FastCGI , every time a user requests a service, it causes the Web server to open a new program that can control and execute the service, and then close it. With the FastCGI , the cost of a step is shared by all the requests that are currently being processed. With the CGI different, with the FastCGI, each step is independent of Web server is running, this provides more security. FastCGIis a standalone code. Its copyright belongs to Open MarketCompany, the company provides FastCGI and use it as an open standard. FastCGI provides the only one that can cross-platform and in any Web used on the server methods of non-intellectual property rights.

  • 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.