Originally wanted to write about Windows2003 and 2008 under the configuration of the PHP environment related content, the thought of the many versions of PHP is not particularly clear, each version has a breakdown of various modes, operating methods, etc. So to PHP's official website Www.php.net looked, because English is poor, plus Baidu only see probably, first tidy up:
1. Version number PHP full name is the Php:hypertext preprocessor (recursive abbreviation) hypertext preprocessor, originally personal home page. From the initial release of personal home page tools, the first version, called php1.0, is now the mainstream version of 5.x.x, the latest version is 7.0.5 (as of 2016/04/11 09:55).
The 5.2.X is significantly different from 5.3.X, and PHP no longer supports ISAPI mode operation after 5.3.1.
5.2.17 is a classic version.
Version 6.0 is not released, does not know why, and then 5.6 implements a lot of 6.0 features.
And no 5.7, straight to 7.0.
2. Thread version PHP is divided into TS and NTS versions of Windows, TS is thread safe, NTS is the None thread safe (non-threaded), and if IIS is running in ISAPI mode, you must use TS edition. If IIS is running in fastcgi mode, you must use version nts. Linux only has the NTS version.
3.x86, x64 difference, x86 run in 32 and 64-bit systems can be (running under 64-bit system to be aware of the compatibility of 32-bit), x64 must run under the 64-bit system.
4.windows is generally divided into two versions of the installation package and compression package, Linux is compressed package, generally divided into bz2, GZ, XZ and so on.
5. Operating mode PHP has five main operating modes: CGI, FAST-CGI, ISAPI, Apache, CLI, respectively.
(1) CGI (Universal Gateway Interface/common Gateway Interface)
The early interface pattern, and the Web server running under different processes, can consume a lot of system resources and are less efficient when processing user requests.
(2) The CGI open extension of the fast-cgi scalable architecture, which puts the CGI interpreter in memory for high performance, is more efficient than CGI mode.
Run under Linux with the PHP-FPM service.
(3) ISAPI (Internet server application program Interface) Microsoft provides a Web server-oriented API interface, DLL programs and Web servers in the same process, more efficient than CGI.
(4) Apache
Module mode, mainly used when running Apache under Windows, is started with the Web server and is extended on CGI basis, which accelerates processing efficiency.
(5) Cli
command-line mode interface, CLI script for all PHP
6.VC6, Vc9, Vc11, Vc14
Compiled from different Visual Studio versions
Earlier PHP version VC9 does not support Apache
The new version of PHP has no vc6, seemingly from 5.4.5 onwards.
PHP different mode, version of the difference