Window Install Memcached
# Installing Memcached on Windows
The official website does not provide a Windows platform installation package for Memcached. We can use the following links to download it. You need to click the corresponding link based on your system platform and the required version:
* 32-bit system version 1.2.5: [http://static.jyshare.com/download/memcached-1.2.5-win32-bin.zip](http://static.jyshare.com/download/memcached-1.2.5-win32-bin.zip)
* 32-bit system version 1.2.6: [http://static.jyshare.com/download/memcached-1.2.6-win32-bin.zip](http://static.jyshare.com/download/memcached-1.2.6-win32-bin.zip)
* 32-bit system version 1.4.4: [http://static.jyshare.com/download/memcached-win32-1.4.4-14.zip](http://static.jyshare.com/download/memcached-win32-1.4.4-14.zip)
* 64-bit system version 1.4.4: [http://static.jyshare.com/download/memcached-win64-1.4.4-14.zip](http://static.jyshare.com/download/memcached-win64-1.4.4-14.zip)
* 32-bit system version 1.4.5: [http://static.jyshare.com/download/memcached-1.4.5-x86.zip](http://static.jyshare.com/download/memcached-1.4.5-x86.zip)
* 64-bit system version 1.4.5: [http://static.jyshare.com/download/memcached-1.4.5-amd64.zip](http://static.jyshare.com/download/memcached-1.4.5-amd64.zip)
Before version 1.4.5, memcached could be installed as a service. This feature was removed in version 1.4.5 and later. Therefore, we will introduce two different installation methods for versions 1.4.4 and 1.4.5 below:
* * *
## memcached = 1.4.5 version installation
1. Extract the downloaded installation package to a specified directory.
2. After memcached version 1.4.5, memcached cannot run as a service. It needs to use Task Scheduler to start a normal process and set memcached to execute automatically when Windows starts.
We use administrator privileges to execute the following command to add memcached to the Task Scheduler:
schtasks /create /sc onstart /tn memcached /tr "'c:memcachedmemcached.exe' -m 512"
**Note:** You need to replace c:memcachedmemcached.exe with the actual path.
**Note:** **-m 512** means setting the maximum cache configuration for memcached to 512M.
**Note:** We can use the "_c:memcachedmemcached.exe -h_" command to view more parameter configurations.
3. If you need to delete memcached's task schedule, you can execute the following command:
schtasks /delete /tn memcached
YouTip