[php] 2024-04-25 圈点336
摘要:VC6_VC9_VC11的介绍PHP各版本如何选择。现在VC6已经比较老了,应该很少有用到。基本都是VC11,甚至已经不用win下的版本了。做个备案。在windows下使用Apache+PHP的,请选择VC6版本; IIS+PHP的,请选择VC9版本;一般情况下,在IIS中使用非线程安全版本,在APACHE中使用线程安全版本。
VC6_VC9_VC11的介绍PHP各版本如何选择。先介绍VC6/9/11,如下。
VC6是什么?
VC6就是legacy Visual Studio 6 compiler,就是使用这个编译器编译的。
The VC9 builds require you to have the Visual C++ Redistributable for Visual Studio 2008 SP1 x86 or x64 installed.
The VC11 builds require to have the Visual C++ Redistributable for Visual Studio 2012 x86 or x64 installed.
VC14 即使用Visual C++ Redistributable 2015
注意:
如果你是在windows下使用Apache+PHP的,请选择VC6版本;
如果你是在windows下使用IIS+PHP的,请选择VC9版本;
If you are using PHP with Apache 1 or Apache2 from apache.org (not recommended) you need to use the older VC6 versions of PHP compiled with the legacy Visual Studio 6 compiler. Do NOT use VC9+ versions of PHP with the apache.org binaries.
关于(非)线程安全版本的介绍
Non Thread Safe就是非线程安全;简称NTS
Thread Safe是线程安全; 简称TS
注意:一般情况下,在IIS中使用非线程安全版本,在APACHE中使用线程安全版本。