Reputation: 18803
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?
Upvotes: 26
Views: 56622
Reputation: 198
Upvotes: 1
Reputation: 1254
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
Upvotes: 1
Reputation: 18803
Steps to install Memcached on Windows:
C:\memcached
memcached.exe
file in the unzipped folder.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
Upvotes: 34
Reputation: 477
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
Upvotes: 2