skip to Main Content

While doing some web development, I needed to have Memcached (source code) installed on my local machine to closely simulate what was going on my server.

How to install Memcached on Windows?

2

Answers


  1. Chosen as BEST ANSWER

    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:memcachedmemcached.exe -d install

    For start and stop run following command line

    c:memcachedmemcached.exe -d start
    c:memcachedmemcached.exe -d stop
    

  2. As told in some previous comments the v1.4.4 is sometimes coming from a trusted source, sometimes not and it becomes hard to find. But there is now a very stable Windows native port for both 32 bits and 64 bits versions.

    https://github.com/jefyt/memcached-windows

    It’s running well on our two PHP servers (PHP7 and PHP8).
    Hope this helps.

    Another Cygwin version is also available here and runs well too
    https://github.com/nono303/memcached

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search