Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install Memcached on Windows

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?

like image 440
Mahdi Bashirpour Avatar asked Dec 25 '19 08:12

Mahdi Bashirpour


People also ask

Does memcached work on Windows?

Memcached is a high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load. Extract the downloaded archive file. From the command prompt, go to the memcached directory.


2 Answers

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
like image 61
Mahdi Bashirpour Avatar answered Nov 18 '22 16:11

Mahdi Bashirpour


I just ran the following off a youtube tutorial after @Bashirpurs step-by-step guide. Make sure to cd into the Memcached folder.

memcached -m 512(This is your memory allocation) -vvv
like image 36
Azmol Avatar answered Nov 18 '22 15:11

Azmol