Which version do I choose?
IISIf you are using PHP with IIS you should use the Non-Thread Safe (NTS) versions of PHP.
Apache
Please use the Apache builds provided by Apache Lounge. They also provide VC11 builds of Apache for x86 and x64. We use their binaries to build the Apache SAPIs.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.
VC9 and VC11
More recent versions of PHP are built with VC9 or VC11 (Visual Studio 2008 and 2012 compiler respectively) and include improvements in performance and stability.
The VC9 builds require you to have the Visual C++ Redistributable for Visual Studio 2008 SP1 x86 or x64 installed.
查看系統(tǒng)的Visual Studio Distribute版本是2008,對(duì)應(yīng)VC9,但我使用的是Visual Studio 2012編譯的PHP版本(VC11),動(dòng)態(tài)連接于Apache中的dll,可能就會(huì)出現(xiàn)問(wèn)題。重新下載了VC9版本的PHP,Apache Httpd Server啟動(dòng)成功,問(wèn)題解決!