我需要知道关于 ts(线程安全)或 nts(非线程安全)哪个 VC 以及 x86 还是 x64 的类似问题。
此信息的最佳位置是在您的 XAMPP 文件夹中。打开文件 XAMPP/readme_en.txt
在此文件的顶部,您可以找到 XAMPP 每个组件的版本和规范。
Important! PHP in this package needs the Microsoft Visual C++ 2008 Redistributable package from
http://www.microsoft.com/en-us/download/details.aspx?id=5582. Please ensure that the VC++ 2008 runtime
libraries are installed on your system.
+ Apache 2.4.4
+ MySQL 5.5.32 (Community Server)
+ PHP 5.6.3 (VC11 X86 32bit thread safe) + PEAR ` + PHP 5.4.25 (VC9 X86 32bit [b]thread safe[/b]) + PEAR
...
重要的一行是:
+ PHP 5.6.3 (VC11 X86 32bit thread safe) + PEAR
这一行告诉我以下内容:
PHP version = 5.6.3
vc# code = VC11 = vc11
os bit sise = X86 32bit = x86
threading model = thread safe = ts
我其实是在找memcache,在这里找到的:
http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/
根据我选择的上述信息:
php_memcache-3.0.8-5.6-ts-vc11-x86.zip
这分解为:
version of Memcahe: php_memcache-3.0.8-
version of php: 5.6-
thread safe: ts-
MS VC Version: vc11-
For 32 bit x86: x86.zip