How to Get Memcached Running on a Windows (X64) 64Bit Environment

Can I get Memcached running on a Windows (x64) 64bit environment?

North Scale labs have released a build of memcached 1.4.4 for Windows x64:

http://blog.couchbase.com/memcached-windows-64-bit-pre-release-available

http://labs.northscale.com/memcached-packages/

UPDATE: they have recently released Memcached Server - still FREE but enhanced distro with clustering, web-based admin/stats UI etc. (I'm not related to them in any way) Check it out at http://northscale.com/products/memcached.html and download at: http://www.northscale.com/download.php?a=d

UPDATE 2: NorthScale Memcached is no longer available as a standalone download. Now they have made it part of their commercial No-SQL DB offering called Membase. It can be configured to run in Memcached-only mode (i.e. without persistence) and there's a 100% free version too. Check it out here: http://www.membase.org/downloads

UPDATE 3: MemBase has slept with CouchDB and produced a hybrid product offering, called CouchBase. They still do offer a free "Community" version at http://www.couchbase.com/download

Where can I get memcached for Windows 64Bit

32 bit should run on windows 64 machines. Regardless, check Membase server, it has memcached bundeled, it can be run in memcached only mode (i.e. no persistence).

Below links should also be of interest:

Memcache on windows

http://allegiance.chi-town.com/MemCacheDManager.aspx

And this SO question: can I get Memcached running on a Windows (x64) 64bit environment?

Install Memcached on Windows

Steps to install Memcached on Windows:

  1. Download a stable version, in either 32-bit or 64-bit I have tested the 64-bit version.
  2. Unzip it in some hard drive folder. For example C:\memcached
  3. There will be memcached.exe file in the unzipped folder.
  4. Open a command prompt (need to be opened as administrator).
  5. Run c:\memcached\memcached.exe -d install

For start and stop run following command line

c:\memcached\memcached.exe -d start
c:\memcached\memcached.exe -d stop

Where can I get memcached for Windows 64Bit

32 bit should run on windows 64 machines. Regardless, check Membase server, it has memcached bundeled, it can be run in memcached only mode (i.e. no persistence).

Below links should also be of interest:

Memcache on windows

http://allegiance.chi-town.com/MemCacheDManager.aspx

And this SO question: can I get Memcached running on a Windows (x64) 64bit environment?

Install php memcache on Windows Server 2008 x64

First check that memchaced service is running

telnet 127.0.0.1 11222 (install a telnet client If you don't have)

If it fails that means your memchaced build is not running.


For windows consider to move to couchbase with memchaced bucket. IMHO, That's the known best implementation.

Platforms for running memcached

Almost all of the FAQs and HOWTOs are written from Linux point of view. Memcache was originally created only for Linux, the ports came later. There is port to Windows, but it's not yet in the official memcache distribution. Memcache on Windows is still guerrilla style. For example there is no memcache for x64 Windows.

As of memcache on MacOS X on servers: niche of niche of niche.

php_memcache.dll vc6 X64?

If you are running a 64 bit webserver and 64 bit php you need 64 bit extensions and a 64 bit service:

The common service and extensions will not work for you.

Install the 64 bit memcached service:

http://s3.amazonaws.com/downloads.northscale.com/memcached-win64-1.4.4-14.zip

And one of these php extensions (to match your php version):

Php 5.3: http://www.mediafire.com/download.php?o60feet9sw71six

Php 5.4: http://www.mediafire.com/download.php?8d3vd26z3fg6bf1


Follow up for people looking for other 64 bit php extensions:

http://www.mediafire.com/php-win64-extensions

Referenced from:

http://www.anindya.com/category/windows/

Distributed caching on 64-bit Windows machines

Memcached runs on Windows, but we don't have the packaging solid yet. A good client has been available for a while.



Related Topics



Leave a reply



Submit