What are the differences between different versions of PHP5.3.1 installation package VC9VC6. I recently saw another new version of PHP download on the PHP official website, so I went up and looked for the ForWindows version. However, I gave a total of four versions, VC9x86NonThreadSafe, VC9x86Thread recently saw a new version of PHP download on the PHP official website, so I went up to find the version For Windows. However, I gave a total of four versions, VC9 x86 Non Thread Safe, VC9 x86 Thread Safe, VC6 x86 Non Thread Safe, and VC6 x86 Thread Safe, which makes this Cainiao a headache, fortunately, there is an English choose on the left where the PHP official website provides download. I have understood it. I guess it means how to select the version. so I started to look up the dictionary and search the Internet, finally, I understood the specific meaning and used it as a memo first. I will make an advertisement for bkJia again. it is said that the boss is going to give a video demonstration. I will give a brief explanation.
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, in this way, the execution efficiency of the process is improved. if you use ISAPI 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.
We do not recommend that you use Non-Thread Safe in the production environment. Therefore, we use PHP of Thread Safe.
For Windows, but I have provided four versions, VC9 x86 Non Thread Safe and VC9 x86 Thread...