Home > Backend Development > PHP Tutorial > Office2003 installation package PHP 531 installation package What are the differences between different versions of VC9 VC6

Office2003 installation package PHP 531 installation package What are the differences between different versions of VC9 VC6

WBOY
Release: 2016-07-29 08:43:10
Original
1145 people have browsed it

Recently, I saw a new version of PHP available for download on the PHP official website, so I went up to look for the For Windows version, but at first glance, there were four versions in total, VC9 x86 Non Thread Safe, VC9 x86 Thread Safe, and VC6 x86 Non Thread. Safe, VC6 x86 Thread Safe, this gave me a headache as a novice. Fortunately, I understood the English word "choose" on the left side of the PHP official website where downloads are provided. I guessed it meant how to choose the version, so I started to look up the dictionary and After searching online, I finally understood the specific meaning, so I used it as a memo first. Another advertisement for PHP100. It is said that the boss is going to release a video demonstration, so I will explain it briefly.
1. How to choose the VC9 version and VC6 version of PHP5.3
What is VC6?
VC6 is the legacy Visual Studio 6 compiler, which is compiled using this compiler.
What is VC9?
VC9 is the Visual Studio 2008 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 choose the VC6 version;
If you are using IIS+PHP under Windows, please choose the VC9 version.
2. How to choose the Thread Safe and Non Thread Safe versions of PHP5.3
First understand it literally, Thread Safe is thread safe, and a thread (Thread) safety check will be performed during execution to prevent new threads from starting when there are new requirements. CGI execution method and exhaust system resources. Non Thread Safe is non-thread safe and does not perform thread (Thread) safety checks during execution.
Let’s look at the two execution methods of PHP: ISAPI and FastCGI.
ISAPI execution method is used in the form of a DLL dynamic library, which can be executed after being requested by the user. It will not disappear immediately after processing a user request, so thread safety checks are required to improve the execution efficiency of the program, so if ISAPI is used to execute PHP, and it is recommended to choose the Thread Safe version;
The FastCGI execution method uses a single thread to perform operations, so there is no need to perform thread safety checks. Removing the protection of thread safety checks can improve execution efficiency, so if FastCGI is used to execute PHP. It is recommended to choose the Non Thread Safe version.
Officially it is not recommended that you use Non Thread Safe in a production environment, so we choose the Thread Safe version of PHP to use.

The above introduces the difference between different versions of office2003 installation package PHP 531 installation package VC9 VC6, including the content of office2003 installation package. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template