首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > windows >

Memcached windows 上安装与应用

2012-08-30 
Memcached windows 下安装与应用----------------------------------------------------Client调用:下载示

Memcached windows 下安装与应用

----------------------------------------------------

Client调用:

下载示例代码网址: http://sourceforge.net/projects/memcacheddotnet/

C#/.NET memcached client library. This library can be used by .NET projects to access memcached servers. Ported from the Java memcached library located athttp://www.whalin.com/memcached/.

e.g.:

?

服务器端: http://files.cnblogs.com/wucg/memcached-1.2.6-win32-bin.zip

下载Client库文件及示例,vs2008,.netframework?1.0,2.0?http://files.cnblogs.com/wucg/clientlib.zip

?

http://www.splinedancer.com/memcached-win32/
memcached for Windows

This is a port of memcached to the win32 architecture byKenneth Dalgleish, based on Kronuz's 1.2.1 port.This port is not supported by the official memcached team.

Install

The win32 version of memcached can be run both as a NT Service or from the command line.To install memcached as a service, follow the next steps:

    Unzip the binaries in your desired directory (eg. c:\memcached)Install the service using the command: 'c:\memcached\memcached.exe -d install' from the command lineStart the server from the Microsoft Management Console or by running the following command: 'c:\memcached\memcached.exe -d start'Use the server, by default listening to port 11211
Building from source

To build from source, you will need Visual Studio 2005 (any edition with C++ should work), Windows SDK (eg.Windows SDK for Windows Server 2008 and .NET Framework 3.5) and libevent (win32 binary provided on this page).

    Install Visual Studio 2005Install Windows SDKPut libevent.lib in Win32-Prj/ folderOpen solution file and it should build
Downloadsmemcached 1.2.4 Win32 Betamemcached 1.2.4 Win32 Beta Binaries (09.03.2008)memcached 1.2.4 Win32 Beta Source (09.03.2008)memcached 1.2.4 Win32 Beta Patch for SVN revision 662 (tag 1.2.4) (09.03.2008)Libevent 1.3e Win32

(Needed if building from source)

Libevent 1.3e Win32 Binary (06.03.2008)

?

PHPUnit 需要测试memcache类的方法?Memcached windows 上安装与应用?Memcached windows 上安装与应用
由于zend for eclipse6.1.0 没有php_memcache.dll这个动态链接库,我们在phpunit测试的时候会报找不到php_memcache类的错,于是只需要把php_memcache.dll(对应版本的:php_memcache.dll)放入:D:\Program Files\Zend\Zend Studio for Eclipse - 6.1.0\plugins\org.zend.php.debug.debugger.win32.x86_5.2.14.v20080602\resources\php5\ext\php-cgi.exe,然后修改D:\Program Files\Zend\Zend Studio for Eclipse - 6.1.0\plugins\org.zend.php.debug.debugger.win32.x86_5.2.14.v20080602\resources\php5\php.ini?? 加入一行:extension=php_memcache.dll??,重新启动zend for eclipse6.1.0即可!