PHP 5.3 的 php_memcache.dll
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1511045/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
php_memcache.dll for PHP 5.3
提问by whobutsb
I recently setup a server using the latest version of XAMPP for Windows. With it came PHP 5.3. I'm now looking for a memcache.dll file that works with PHP 5.3 I've used some of the previous .dll files and recieved an error message:
我最近使用最新版本的 XAMPP for Windows 设置了一个服务器。随之而来的是 PHP 5.3。我现在正在寻找适用于 PHP 5.3 的 memcache.dll 文件我使用了一些以前的 .dll 文件并收到一条错误消息:
"PHP Startup: memcache: Unable t initialize module.
Module compiled with module API=20060613
PHP compiled with module api=20090626
These options need to match"
“PHP启动:memcache:无法初始化模块。
模块用模块API=20060613
编译的PHP用模块api=20090626
这些选项需要匹配”
Any links to a PHP 5.3 memcache.dll file would be greatly appreciated.
任何指向 PHP 5.3 memcache.dll 文件的链接将不胜感激。
Thanks for the help!
谢谢您的帮助!
回答by seven
If you are using php 5.3 from within xampp 1.7.2/1.7.3, this distribution works fine:
如果您在 xampp 1.7.2/1.7.3 中使用 php 5.3,则此发行版工作正常:
http://shikii.net/blog/downloads/php_memcache-cvs-20090703-5.3-VC6-x86.zip
http://shikii.net/blog/downloads/php_memcache-cvs-20090703-5.3-VC6-x86.zip
It's a real pity that windows.php.net is still not up yet with PECL windows binaries.
真的很遗憾 windows.php.net 还没有使用 PECL windows 二进制文件。
回答by Yildiray Meric
Links are not working any more. But you can use following SVN repository to download the file.
链接不再起作用。但是您可以使用以下 SVN 存储库下载文件。
回答by Pascal MARTIN
There are compiled extension available from http://downloads.php.net/pierre/
可以从http://downloads.php.net/pierre/ 获得已编译的扩展
Amongst those, you'll find :
其中,你会发现:
- php_memcache-cvs-20090703-5.3-VC6-x86.zip (2009-07-03 05:30 -0700)
- php_memcache-cvs-20090703-5.3-VC9-x64.zip (2009-07-03 05:45 -0700)
- php_memcache-cvs-20090703-5.3-VC9-x86.zip (2009-07-03 06:11 -0700)
- php_memcache-cvs-20090703-5.3-nts-VC6-x86.zip (2009-07-03 05:29 -0700)
- php_memcache-cvs-20090703-5.3-nts-VC9-x64.zip (2009-07-03 05:35 -0700)
- php_memcache-cvs-20090703-5.3-nts-VC9-x86.zip (2009-07-03 06:07 -0700)
- php_memcache-cvs-20090703-5.3-VC6-x86.zip (2009-07-03 05:30 -0700)
- php_memcache-cvs-20090703-5.3-VC9-x64.zip (2009-07-03 05:45 -0700)
- php_memcache-cvs-20090703-5.3-VC9-x86.zip (2009-07-03 06:11 -0700)
- php_memcache-cvs-20090703-5.3-nts-VC6-x86.zip (2009-07-03 05:29 -0700)
- php_memcache-cvs-20090703-5.3-nts-VC9-x64.zip (2009-07-03 05:35 -0700)
- php_memcache-cvs-20090703-5.3-nts-VC9-x86.zip (2009-07-03 06:07 -0700)
Depending on the version of PHP 5.3 you are using, one of those might do ;-)
根据您使用的 PHP 5.3 版本,其中之一可能会做 ;-)
If you don't know which one you should choose, take a look at the "Which version do I choose?" block on the left of http://windows.php.net/(quoting) :
如果您不知道应该选择哪个版本,请查看“我选择哪个版本?” http://windows.php.net/左侧的块(引用):
If you are using PHP with Apache 1 or Apache2 from apache.org you need to use the VC6 versions of PHP
If you are using PHP with IIS you should use the VC9 versions of PHP
VC6 Versions are compiled with the legacy Visual Studio 6 compiler
VC9 Versions are compiled with the Visual Studio 2008 compiler and have improvements in performance and stability. The VC9 versions require you to have the Microsoft 2008 C++ Runtime (x86) or the Microsoft 2008 C++ Runtime (x64) installed
Do NOT use VC9 version with apache.org binaries
如果您使用来自 apache.org 的 PHP 和 Apache 1 或 Apache2,则需要使用 VC6 版本的 PHP
如果您在 IIS 中使用 PHP,则应使用 VC9 版本的 PHP
VC6 版本使用旧版 Visual Studio 6 编译器编译
VC9 版本使用 Visual Studio 2008 编译器进行编译,并在性能和稳定性方面有所改进。VC9 版本要求您安装 Microsoft 2008 C++ Runtime (x86) 或 Microsoft 2008 C++ Runtime (x64)
不要将 VC9 版本与 apache.org 二进制文件一起使用
Maybe one day, extensions will be on this site too (as pecl4win is down)... Would be nice, actually ^^
也许有一天,扩展也会出现在这个站点上(因为 pecl4win 已关闭)......实际上会很好^^
回答by Patrick
Found this blog which has a PHP 5.3 version that worked for me:
找到了这个博客,它有一个适用于我的 PHP 5.3 版本:
http://shikii.net/blog/installing-memcached-for-php-5-3-on-windows-7/
http://shikii.net/blog/installing-memcached-for-php-5-3-on-windows-7/
回答by Sahib
You should download this extension from code.google.com:
您应该从 code.google.com 下载此扩展程序:
回答by kaha
I have php 5.3.13 and in my case the link which seven provided didn't work. But this one did: http://downloads.php.net/pierre/php_memcache-2.2.6-5.3-vc9-x86.zip
我有 php 5.3.13,就我而言,七个提供的链接不起作用。但是这个做了:http: //downloads.php.net/pierre/php_memcache-2.2.6-5.3-vc9-x86.zip

